Quaternion.Quaternion Method (Microsoft.Xna.Framework)

Constructs a quaternion from Vector4.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public Quaternion(
	Vector4 value

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


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