Vector3.Cross Method (Vector3, Vector3, Vector3)

Calculates the cross product of two vectors.

Syntax

'Declaration
Public Shared Sub Cross ( _
         ref vector1 As Vector3, _
         ref vector2 As Vector3, _
         out result As Vector3 _
)
public static void Cross (
         ref Vector3 vector1,
         ref Vector3 vector2,
         out Vector3 result
)
public:
static void Cross(
         ref Vector3 vector1,
         ref Vector3 vector2,
         out Vector3 result
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone