Quaternion Constructor (Vector3, Single)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of Quaternion.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Sub New ( _
vectorPart As Vector3, _
scalarPart As Single _
)
public Quaternion(
Vector3 vectorPart,
float scalarPart
)
Parameters
- vectorPart
Type: Microsoft.Xna.Framework.Vector3
The vector component of the Quaternion.
- scalarPart
Type: System.Single
The rotation component of the Quaternion.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.