Quaternion.Negate Method (Quaternion)

Flips the sign of each component of the quaternion.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static Quaternion Negate (
         Quaternion quaternion
)

Parameters

  • quaternion
    Source quaternion.

Return Value

Negated quaternion.

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista