group node

Summary

The group node is used to group nodes in the scene. The properties of child nodes are relative to the properties of the group. For example the position of a child object is relative to the position of the parent group.

The color parameter modulates the colors of the node's children. To clarify, components of the child's color are multiplied by the components of the group's color.

For more information regarding the scripting of this node see the scripting reference entry for group.

Children

group nodes can contain any other nodes.

Example B.4. Use of group node

<group scale="0.1 0.1 1">
	<object id="myplane" type="primitives/plane/plane.aro" position="-1 0 0"/>
	<object id="myplane" type="primitives/plane/plane.aro" position="1 0 0"/>
</group>

Attributes

Attributes common to transformable nodes
nametypedefaultnotes
positionx y z0 0 0position of the node relative to its parent (or the center of the screen or camera, see relativeto)
scalex y z1 1 1scale of the node relative to its parent (or the center of the screen or camera, see relativeto)
rotationyaw pitch roll0 0 0rotation of the node, in degrees, relative to its parent (or the center of the screen or camera, see relativeto)
relativeto"parent", "screen" or "camera"parentwhether this node is located relative to its parent node, the screen, or the camera. See Viewport-relative Content for more information.
billboardbooleanfalsebillboarded geometry always faces the camera
filldepthbufferbooleantruewhether the depth buffer is filled for this geometry

Attributes common to nodes
nametypedefaultnotes
visiblebooleantrueIf false, this node (or its children, if it has any) will not be rendered.
colorr g b a (in range 0 to 1)1 1 1 1specifies the color used to modulate this node and its children
idstring an identifier used to refer to this node