Quaternion Constructor (Vector3, Single)
Initializes a new instance of Quaternion.
Syntax
'Declaration
Public Sub New ( _
vectorPart As Vector3, _
scalarPart As Single _
)
public Quaternion (
Vector3 vectorPart,
float scalarPart
)
public:
Quaternion(
Vector3 vectorPart,
float scalarPart
)
Parameters
- vectorPart
Type: Vector3
The vector component of the quaternion. - scalarPart
Type: Single
The rotation component of the quaternion.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone