編集

次の方法で共有


Vector4 Constructors

Definition

Overloads

Vector4(Vector2)

Constructs a new Vector4 from the given Vector2.

Vector4(Vector3)

Constructs a new Vector4 from the given Vector3.

Vector4(Vector4)

Constructs a new Vector4 from the given Vector4.

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

Constructs a new Vector4.

Vector4(Vector2)

Constructs a new Vector4 from the given Vector2.

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

Parameters

v
Vector2

The Vector2 to copy components from.

Applies to

Vector4(Vector3)

Constructs a new Vector4 from the given Vector3.

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

Parameters

v
Vector3

The Vector3 to copy components from.

Applies to

Vector4(Vector4)

Constructs a new Vector4 from the given Vector4.

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

Parameters

v
Vector4

The Vector4 to copy components from.

Applies to

Vector4(Single)

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

Parameters

value
Single

Applies to

Vector4(Vector3, Single)

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

Parameters

w
Single

Applies to

Vector4(Single, Single, Single, Single)

Constructs a new Vector4.

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

Parameters

x
Single

The x component of the Vector4.

y
Single

The y component of the Vector4.

z
Single

The z component of the Vector4.

w
Single

The z component of the Vector4.

Applies to