Rotation


Purpose:

This node is one of the five matrix or transform property Nodes. Rotation defines a three-dimensional rotation about an arbitrary axis through the origin located at (0,0,0).

Syntax
FILE FORMAT/DEFAULTS
Rotation {
	rotation	0 0 1 0		# SFRotation
}
Explanation

The rotation becomes part of the current transformation. This is then applied to subsequent shapes following in the scene graph.

Example Use

The following code fragment is from Allnodes.wrl.

Rotation {rotation 0 0 1 0}

See Also

SFRotation