Click or drag to resize

UnitQuaternion Constructor (Quaternion)

Initializes a set of UnitQuaternion coordinates from the provided set of Quaternion coordinates.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public UnitQuaternion(
	Quaternion coordinates
)

Parameters

coordinates
Type: AGI.Foundation.CoordinatesQuaternion
The set of Quaternion coordinates.
Exceptions
ExceptionCondition
DivideByZeroException The magnitude of the provided coordinates must not be zero.
NotFiniteNumberException The magnitude of the provided coordinates must not be infinite.
Remarks
The given values will be normalized to ensure a unit magnitude.
See Also