Vector4.Vector4 Method (Microsoft.Xna.Framework)

Constructs a 3d vector with X and Z from Vector2 and Z and W from the scalars.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public Vector4(
	Vector2 value, 
	float z, 
	float w
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value
Type: Microsoft.Xna.Framework.Vector2
The x and y coordinates in 4d-space.
z
Type: System.Single
The z coordinate in 4d-space.
w
Type: System.Single
The w coordinate in 4d-space.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web