Dela via


Vector4 Constructor (Vector3, Single)

Initializes a new instance of Vector4.

Syntax

'Declaration
Public Sub New ( _
         value As Vector3, _
         w As Single _
)
public Vector4 (
         Vector3 value,
         float w
)
public:
Vector4(
         Vector3 value,
         float w
)

Parameters

  • value
    Type: Vector3
    A vector containing the values to initialize x, y, and z components with.
  • w
    Type: Single
    Initial value for the w-component of the vector.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone