Share via


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

Initializes a new instance of the Quaternion 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 Quaternion(
    float valueX,
    float valueY,
    float valueZ,
    float valueW
);
C++ public:
 Quaternion(
    float valueX,
    float valueY,
    float valueZ,
    float valueW
);
JScript public function Quaternion(
    valueX : float,
    valueY : float,
    valueZ : float,
    valueW : float
);

Parameters

valueX System.Single
Initial SingleLeave Site value for the Quaternion.X member.
valueY System.Single
Initial SingleLeave Site value for the Quaternion.Y member.
valueZ System.Single
Initial SingleLeave Site value for the Quaternion.Z member.
valueW System.Single
Initial SingleLeave Site value for the Quaternion.W member.