Share via


Vector4.Vector4(Single,Single,Single,Single) Constructor (Microsoft.DirectX)

Initializes a new instance of the Vector4 class.

Definition

Visual Basic Public Sub New( _
    ByVal valueX As Single, _
    ByVal valueY As Single, _
    ByVal valueZ As Single, _
    ByVal valueW As Single _
)
C# public Vector4(
    float valueX,
    float valueY,
    float valueZ,
    float valueW
);
C++ public:
 Vector4(
    float valueX,
    float valueY,
    float valueZ,
    float valueW
);
JScript public function Vector4(
    valueX : float,
    valueY : float,
    valueZ : float,
    valueW : float
);

Parameters

valueX System.Single
Initial X value.
valueY System.Single
Initial Y value.
valueZ System.Single
Initial Z value.
valueW System.Single
Initial W value.