Edit

Share via


Vector3 Constructors

Definition

Overloads

Vector3(Vector2)

Constructs a new Vector3 from the given Vector2.

Vector3(Vector3)

Constructs a new Vector3 from the given Vector3.

Vector3(Vector4)

Constructs a new Vector3 from the given Vector4.

Vector3(Single)
Vector3(Single, Single, Single)

Constructs a new Vector3.

Vector3(Vector2)

Constructs a new Vector3 from the given Vector2.

public Vector3 (OpenTK.Vector2 v);
new OpenTK.Vector3 : OpenTK.Vector2 -> OpenTK.Vector3

Parameters

v
Vector2

The Vector2 to copy components from.

Applies to

Vector3(Vector3)

Constructs a new Vector3 from the given Vector3.

public Vector3 (OpenTK.Vector3 v);
new OpenTK.Vector3 : OpenTK.Vector3 -> OpenTK.Vector3

Parameters

v
Vector3

The Vector3 to copy components from.

Applies to

Vector3(Vector4)

Constructs a new Vector3 from the given Vector4.

public Vector3 (OpenTK.Vector4 v);
new OpenTK.Vector3 : OpenTK.Vector4 -> OpenTK.Vector3

Parameters

v
Vector4

The Vector4 to copy components from.

Applies to

Vector3(Single)

public Vector3 (float value);
new OpenTK.Vector3 : single -> OpenTK.Vector3

Parameters

value
Single

Applies to

Vector3(Single, Single, Single)

Constructs a new Vector3.

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

Parameters

x
Single

The x component of the Vector3.

y
Single

The y component of the Vector3.

z
Single

The z component of the Vector3.

Applies to