Vector4 Constructor (Single, Single, Single, Single)

Creates a vector whose elements have the specified values.

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

public:
Vector4(
	float x, 
	float y, 
	float z, 
	float w
)

Parameters

x
Type: System::Single

The value to assign to the X field.

y
Type: System::Single

The value to assign to the Y field.

z
Type: System::Single

The value to assign to the Z field.

w
Type: System::Single

The value to assign to the W field.

Show: