TransformSeparator


Purpose:

This node is one of the six group Nodes. The TransformSeparator node is similar to the Separator node.

Syntax

FILE FORMAT/DEFAULTS

TransformSeparator {}

Explanation

As suggested above the TransformSeparator node is similar in use to the Separator node. This node also saves state before traversing its children and restoring it afterwards. However, TransformSeparator saves only the current transformation. The rest of the state condition is left as is.

You can use this node for positioning a camera in your world. The transformations to the camera will not affect the rest of the scene. You can also use this node to isolate transformations to light sources or other objects.

Example Use

The following code fragment is from Corner.wrl.

TransformSeparator {}

See Also

Separator