Quaternion.Subtract Method (Quaternion, Quaternion)
Subtracts a quaternion from another quaternion.
Syntax
'Declaration
Public Shared Function Subtract ( _
quaternion1 As Quaternion, _
quaternion2 As Quaternion _
) As Quaternion
public static Quaternion Subtract (
Quaternion quaternion1,
Quaternion quaternion2
)
public:
static Quaternion Subtract(
Quaternion quaternion1,
Quaternion quaternion2
)
Parameters
- quaternion1
Type: Quaternion
Source quaternion. - quaternion2
Type: Quaternion
Source quaternion.
Return Value
Type: Quaternion
Result of the subtraction.
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