Share via


Vector4 Constructor (Vector3, Single)

Initializes a new instance of Vector4.

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

Syntax

public Vector4 (
         Vector3 value,
         float w
)

Parameters

  • value
    A vector containing the values to initialize x, y, and z components with.
  • 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