FMatrix4GetRotationMatrix(Single, Single, Single, AxisOrderEnum) Method

Return a rotation matrix for rotation around the specified axes.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static FMatrix4 GetRotationMatrix(
	float thetaX,
	float thetaY,
	float thetaZ,
	AxisOrderEnum axisOrder = AxisOrderEnum.YXZ
)

Parameters

thetaX  Single
The angle by which to rotate on the X axis.
thetaY  Single
The angle by which to rotate on the Y axis.
thetaZ  Single
The angle by which to rotate on the Z axis.
axisOrder  AxisOrderEnum  (Optional)
The order in which rotation is applied. Default = Y, X, Z, for Yaw, Pitch, and Roll in a Y-up system.

Return Value

FMatrix4
Reference to a rotation matrix,

Remarks

Blender's rotation order is X, Y, Z.

See Also