FQuaternionFromZRotation Method

Create and return a new quaternion from a single Z rotation.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2613.4238
C#
public static FQuaternion FromZRotation(
	float angle
)

Parameters

angle  Single
The angle, in radians, at which to rotate on the Z axis.

Return Value

FQuaternion
Reference to a newly created quaternion where the Z axis is rotated by the specified angle.

See Also