Share via


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

Initializes a new instance of the Vector3 class.

Definition

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

Parameters

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