Vector3.Cross Method (Microsoft.Xna.Framework)
Computes the cross product of two vectors.
- C#
- VB
- F#
public static Vector3 Cross( Vector3 vector1, Vector3 vector2 )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- vector1
-
Type: Microsoft.Xna.Framework.Vector3
The first vector.
- vector2
-
Type: Microsoft.Xna.Framework.Vector3
The second vector.
Return Value
Type: Microsoft.Xna.Framework.Vector3The cross product of two vectors.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web