Share via


Quaternion.Add Method (Quaternion, Quaternion)

Adds two Quaternions.

Syntax

'Declaration
Public Shared Function Add ( _
         quaternion1 As Quaternion, _
         quaternion2 As Quaternion _
) As Quaternion 
public static Quaternion Add (
         Quaternion quaternion1,
         Quaternion quaternion2
)
public:
static Quaternion Add(
         Quaternion quaternion1,
         Quaternion quaternion2
)

Parameters

Return Value

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