Vector4 Constructor (Single, Single, Single, Single)

Initializes a new instance of Vector4.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

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

Parameters

  • x
    Initial value for the x-component of the vector.
  • y
    Initial value for the y-component of the vector.
  • z
    Initial value for the z-component of the vector.
  • w
    Initial value for the w-component of the vector.

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista