HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
Box2D.SensorEndTouchEvent Struct Reference

An end touch event is generated when a shape stops overlapping a sensor shape. These include things like setting the transform, destroying a body or shape, or changing a filter. You will also get an end event if the sensor or visitor are destroyed. Therefore you should always confirm the shape is valid using Shape.Valid. More...

Collaboration diagram for Box2D.SensorEndTouchEvent:
Collaboration graph
[legend]

Public Attributes

readonly Shape SensorShape
 The id of the sensor shape
Warning: this shape may have been destroyed
 
readonly Shape VisitorShape
 The id of the dynamic shape that stopped touching the sensor shape
Warning: this shape may have been destroyed
 

Detailed Description

An end touch event is generated when a shape stops overlapping a sensor shape. These include things like setting the transform, destroying a body or shape, or changing a filter. You will also get an end event if the sensor or visitor are destroyed. Therefore you should always confirm the shape is valid using Shape.Valid.


The documentation for this struct was generated from the following file: