MatrixTransform


Purpose:

This node is one of the five matrix or transformation property Nodes. MatrixTransform defines a geometric 3D transformation with a 4 by 4 matrix.

Syntax
FILE FORMAT/DEFAULTS
MatrixTransform {
	matrix	1 0 0 0	# SFMatrix
		0 1 0 0
		0 0 1 0
		0 0 0 1
}
Explanation

Some matrices, such as singular ones, can produce errors. Care should be taken when using this node.

Example Use

The following code fragment is from Chair3.wrl.

MatrixTransform {
	matrix	1 0 0 0
		0 -3.69549e-06 -1 0
		0 1 -3.69549e-06 0
		0 0 0 1
}