Windows apps
Collapse the table of content
Expand the table of content

Quaternion Constructor (Vector3, Single)

Creates a quaternion from the specified vector and rotation parts.

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

public:
Quaternion(
	Vector3 vectorPart, 
	float scalarPart
)

Parameters

vectorPart
Type: System.Numerics::Vector3

The vector part of the quaternion.

scalarPart
Type: System::Single

The rotation part of the quaternion.

Show:
© 2017 Microsoft