| ICollisionFilterSet 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 void Set(
int collisionGroup,
bool collisionsEnabled
)
Sub Set (
collisionGroup As Integer,
collisionsEnabled As Boolean
)
void Set(
int collisionGroup,
bool collisionsEnabled
)
abstract 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.
See Also