Quaternion.Quaternion Method (Microsoft.Xna.Framework)
Constructs a quaternion from Vector4.
- C#
- VB
- F#
public Quaternion( Vector4 value )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- value
-
Type: Microsoft.Xna.Framework.Vector4
The x, y, z coordinates in 3d-space and the rotation component.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web