Click or drag to resize
DigitalRuneSceneFilter Property

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public IPairFilter<SceneNode> Filter { get; set; }

Property Value

Type: IPairFilterSceneNode
The filter which decides which scene nodes can touch each other.
Remarks

The default value is a SceneNodeCollisionFilter that disables collisions between two objects of group 1 (two mesh nodes) and two objects of group 3 (two camera nodes). If you do not use the default group IDs (see GetDefaultGroup(SceneNode)) or if your rendering pipeline has different requirements, this filter must be changed.

Changing the filter or the settings of a filter invalidates the currently cached collision data. For performance reasons it is not recommended to change the filter at runtime after the scene has been loaded.

See Also