Vector4.Vector4 Method (Microsoft.Xna.Framework)

Constructs a 4d vector with X, Y, Z and W set to the same value.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public Vector4(
	float value

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: System.Single
The x, y, z and w coordinates in 4d-space.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop