Click or drag to resize
DigitalRuneCollisionFilterSet Method (Int32, Boolean)
Enables or disables collisions with the given collision group.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void Set(
	int collisionGroup,
	bool collisionsEnabled
)

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
ExceptionCondition
ArgumentOutOfRangeExceptioncollisionGroup is out of range.
See Also