Quaternion.Negate Method (Quaternion, 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 void Negate (
         ref Quaternion quaternion,
         out Quaternion result
)

Parameters

  • quaternion
    Source quaternion.
  • result
    [OutAttribute] Negated quaternion.

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista