UnitQuaternion Constructor (Double, Double, Double, Double, Double) |
Initializes a set of
UnitQuaternion coordinates from the provided values.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public UnitQuaternion(
double w,
double x,
double y,
double z,
out double magnitude
)
Public Sub New (
w As Double,
x As Double,
y As Double,
z As Double,
<OutAttribute> ByRef magnitude As Double
)
public:
UnitQuaternion(
double w,
double x,
double y,
double z,
[OutAttribute] double% magnitude
)
new :
w : float *
x : float *
y : float *
z : float *
magnitude : float byref -> UnitQuaternion
Parameters
- w
- Type: SystemDouble
The W coordinate. - x
- Type: SystemDouble
The X coordinate. - y
- Type: SystemDouble
The Y coordinate. - z
- Type: SystemDouble
The Z coordinate. - magnitude
- Type: SystemDouble
On return,
the magnitude of the original set of coordinates.
Exceptions Remarks The given values will be normalized to ensure a unit magnitude.
See Also