Click or drag to resize

Quaternion Constructor (Single, Single, Single, Single)

Initializes a new instance of the Quaternion struct.

Namespace:  Microsoft.DirectX
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public Quaternion(
	float x,
	float y,
	float z,
	float w
)

Parameters

x
Type: SystemSingle
Initial value for the X component of the Quaternion.
y
Type: SystemSingle
Initial value for the Y component of the Quaternion.
z
Type: SystemSingle
Initial value for the Z component of the Quaternion.
w
Type: SystemSingle
Initial value for the W component of the Quaternion.
See Also