Houdini 20.0 Nodes APEX Nodes

quaternion::FromEuler

Creates a Vector4 representing a quaternion from euler angles.

On this page
Since 20.0

Creates a Vector4 representing a unit quaternion from a vector representing Euler rotations in X, Y, and Z. The angles are in radians. Use the DegreesToRadians node to convert degrees into radians.

Inputs

radians: Vector3

Vector3 representing the euler angles.

rOrd: Int

Specifies the rotation order. See below.

Rotation order

value

rOrd meaning

0

XYZ

1

XZY

2

YXZ

3

YZX

4

ZXY

5

ZYX

Outputs

quaternion: Vector4

APEX Nodes