FQuaternionFromYRotation Method

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

Definition

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

Parameters

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

Return Value

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

See Also