Upravit

Sdílet prostřednictvím


Quaternion Constructors

Definition

Overloads

Quaternion(Matrix3)
Quaternion(Vector3, Single)
Quaternion(Single, Single, Single, Single)

Construct a new Quaternion

Quaternion(Matrix3)

public Quaternion (ref OpenTK.Matrix3 matrix);
new OpenTK.Quaternion :  -> OpenTK.Quaternion

Parameters

matrix
Matrix3

Applies to

Quaternion(Vector3, Single)

public Quaternion (OpenTK.Vector3 v, float w);
new OpenTK.Quaternion : OpenTK.Vector3 * single -> OpenTK.Quaternion

Parameters

w
Single

Applies to

Quaternion(Single, Single, Single, Single)

Construct a new Quaternion

public Quaternion (float x, float y, float z, float w);
new OpenTK.Quaternion : single * single * single * single -> OpenTK.Quaternion

Parameters

x
Single

The x component

y
Single

The y component

z
Single

The z component

w
Single

The w component

Applies to