Quaternion Constructor (Single, Single, Single, Single)
Initializes a new instance of Quaternion.
Syntax
'Declaration
Public Sub New ( _
x As Single, _
y As Single, _
z As Single, _
w As Single _
)
public Quaternion (
float x,
float y,
float z,
float w
)
public:
Quaternion(
float x,
float y,
float z,
float w
)
Parameters
- x
Type: Single
The x-value of the quaternion. - y
Type: Single
The y-value of the quaternion. - z
Type: Single
The z-value of the quaternion. - w
Type: Single
The w-value 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