FQuaternionToAxisAngle Method

Return the arbitrary axis vector and associated angle from the caller's quaternion.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2613.4238
C#
public static FVector4 ToAxisAngle(
	FQuaternion quaternion
)

Parameters

quaternion  FQuaternion
Reference to the quaternion to inspect.

Return Value

FVector4
Reference to a four dimensional vector where X, Y, and Z represent the axis in space and W represents the angle at which that axis is twisted.

Remarks

For more information on the formula upon which this method is based, see quaternionToAngle on euclideanspace.com.

See Also