Quaternion.UnaryNegation Operator
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Flips the sign of each component of the Quaternion.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Shared Operator - ( _
quaternion As Quaternion _
) As Quaternion
public static Quaternion operator -(
Quaternion quaternion
)
Parameters
- quaternion
Type: Microsoft.Xna.Framework.Quaternion
Source Quaternion.
Return Value
Type: Microsoft.Xna.Framework.Quaternion
Negated Quaternion.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.