FMatrix4GetRotationMatrixYawPitchRoll 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 GetRotationMatrixYawPitchRoll(
	float thetaX,
	float thetaY,
	float thetaZ,
	AxisType upAxis = AxisType.Y
)

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.
upAxis  AxisType  (Optional)
The optional axis of the system, which aids in determining the yaw.

Return Value

FMatrix4
Reference to a rotation matrix,

Remarks

When the Up axis is Z, yaw is Z, pitch is X, and roll is Y.

When the Up axis is Y, yaw is Y, pitch is X, and roll is Z.

See Also