Quaternion Constructor (Single, Single, Single, Single)

Initializes a new instance of Quaternion.

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

Syntax

public Quaternion (
         float x,
         float y,
         float z,
         float w
)

Parameters

  • x
    The x-value of the quaternion.
  • y
    The y-value of the quaternion.
  • z
    The z-value of the quaternion.
  • w
    The w-value of the quaternion.

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista