Quaternion Constructor (Vector3, Single)

Initializes a new instance of Quaternion.

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

Syntax

public Quaternion (
         Vector3 vectorPart,
         float scalarPart
)

Parameters

  • vectorPart
    The vector component of the quaternion.
  • scalarPart
    The rotation component of the quaternion.

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista