Quaternion Constructor (Single, Single, Single, Single)

Constructs a quaternion from the specified components.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
Quaternion(
	float x, 
	float y, 
	float z, 
	float w
)

Parameters

x
Type: System::Single

The value to assign to the X component of the quaternion.

y
Type: System::Single

The value to assign to the Y component of the quaternion.

z
Type: System::Single

The value to assign to the Z component of the quaternion.

w
Type: System::Single

The value to assign to the W component of the quaternion.

Show: