| SceneNodeCollisionFilterSet Method |
Enables or disables collisions between a pair of scene node groups.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: 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
)
Public Sub Set (
groupA As Integer,
groupB As Integer,
collisionsEnabled As Boolean
)
public:
void Set(
int groupA,
int groupB,
bool collisionsEnabled
)
member Set :
groupA : int *
groupB : int *
collisionsEnabled : bool -> unit
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 Remarks
To disable collisions for objects within one group, this method can be called with
groupA == groupB.
See Also