| CollisionFilterSet Method (Int32, Boolean) |
Enables or disables collisions with the given collision group.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public void Set(
int collisionGroup,
bool collisionsEnabled
)
Public Sub Set (
collisionGroup As Integer,
collisionsEnabled As Boolean
)
public:
virtual void Set(
int collisionGroup,
bool collisionsEnabled
) sealed
abstract Set :
collisionGroup : int *
collisionsEnabled : bool -> unit
override Set :
collisionGroup : int *
collisionsEnabled : bool -> unit
Parameters
- collisionGroup
- Type: SystemInt32
The collision group. - collisionsEnabled
- Type: SystemBoolean
If set to collisions for object in the given group are enabled. Use
to disable collisions.
Implements
ICollisionFilterSet(Int32, Boolean)Exceptions See Also