Quaternion.Add Method (Quaternion, Quaternion, Quaternion)
Adds two Quaternions.
Syntax
'Declaration
Public Shared Sub Add ( _
ref quaternion1 As Quaternion, _
ref quaternion2 As Quaternion, _
out result As Quaternion _
)
public static void Add (
ref Quaternion quaternion1,
ref Quaternion quaternion2,
out Quaternion result
)
public:
static void Add(
ref Quaternion quaternion1,
ref Quaternion quaternion2,
out Quaternion result
)
Parameters
- quaternion1
Type: Quaternion
Quaternion to add. - quaternion2
Type: Quaternion
Quaternion to add. - result
Type: Quaternion
[OutAttribute] Result of adding the Quaternions.
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