Houdini 21.0 Nodes APEX nodes

transform::Prerotate<T>

Applies a prerotation to a matrix.

On this page
Since 20.0

Applying a prerotation to a matrix is the same as applying rotation and then transforming the result by the original matrix. This is equivalent to applying a rotation in the local space of an established transform.

Inputs

matrix: Matrix3, Matrix4

The matrix on which to apply the prerotation.

radians: Vector3

The prerotation specified as Euler angles, in radians. The rotation order is determined by rord.

rord: Int

The rotation order of the prerotation. The default value is XYZ.

Port Value

Rotation Order

0

XYZ

1

XZY

2

YXZ

3

YZX

4

ZXY

5

ZYX

Outputs

result: Matrix3, Matrix4

The prerotated matrix.

See also

APEX nodes