FMatrix4GetRotationMatrix(FVector3, 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(
	FVector3 theta,
	AxisOrderEnum axisOrder = AxisOrderEnum.YXZ
)

Parameters

theta  FVector3
The angles around the X, Y, and Z axes to set.
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,

See Also