Click or drag to resize
DigitalRuneSceneNodeCollisionFilterSet Method
Enables or disables collisions between a pair of scene node groups.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void Set(
	int groupA,
	int groupB,
	bool collisionsEnabled
)

Parameters

groupA
Type: SystemInt32
The first group.
groupB
Type: SystemInt32
The second group.
collisionsEnabled
Type: SystemBoolean
If set to collisions between scene nodes in groupA and scene nodes in groupB are enabled. Use to disable collisions.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiongroupA is out of range.
ArgumentOutOfRangeExceptiongroupB is out of range.
Remarks
To disable collisions for objects within one group, this method can be called with groupA == groupB.
See Also