Click or drag to resize
DigitalRuneSceneSetGroup Method
Sets the group ID of a scene node.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void SetGroup(
	SceneNode sceneNode,
	int group
)

Parameters

sceneNode
Type: DigitalRune.Graphics.SceneGraphSceneNode
The scene node.
group
Type: SystemInt32
The group ID.
Exceptions
ExceptionCondition
ArgumentNullExceptionsceneNode is .
GraphicsException The group of the scene node cannot be changed because the scene node has already been added to a scene.
Remarks
The group is usually used for internal optimization. It is not allowed to change the group of a scene node that has already been added to the scene. The group must be set BEFORE the scene node is added to the scene graph.
See Also