Vector2.Division Method (Microsoft.Xna.Framework)
Divides the components of a Vector2 by the components of another Vector2.
- C#
- VB
- F#
public static Vector2 Division( Vector2 value1, Vector2 value2 )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- value1
-
Type: Microsoft.Xna.Framework.Vector2
Source Vector2 on the left of the div sign.
- value2
-
Type: Microsoft.Xna.Framework.Vector2
Divisor Vector2 on the right of the div sign.
Return Value
Type: Microsoft.Xna.Framework.Vector2The result of dividing the vectors.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web