 | SceneSetGroup Method |
Sets the group ID of a scene node.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic void SetGroup(
SceneNode sceneNode,
int group
)
Public Sub SetGroup (
sceneNode As SceneNode,
group As Integer
)
public:
void SetGroup(
SceneNode^ sceneNode,
int group
)
member SetGroup :
sceneNode : SceneNode *
group : int -> unit
Parameters
- sceneNode
- Type: DigitalRune.Graphics.SceneGraphSceneNode
The scene node. - group
- Type: SystemInt32
The group ID.
Exceptions
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