Share via


Quaternion.op_UnaryNegation Method

Flips the sign of each component of the quaternion.

Syntax

'Declaration
Public Shared Function op_UnaryNegation ( _
         quaternion As Quaternion _
) As Quaternion 
public static Quaternion op_UnaryNegation (
         Quaternion quaternion
)
public:
static Quaternion op_UnaryNegation(
         Quaternion quaternion
)

Parameters

Return Value

Type: Quaternion
Negated 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