Vector3 Constructor (Vector2, Single)

Creates a new Vector3 object from the specified Vector2 object and the specified value.

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

public:
Vector3(
	Vector2 value, 
	float z
)

Parameters

value
Type: System.Numerics::Vector2

The vector with two elements.

z
Type: System::Single

The additional value to assign to the Z field.

Show: