Vector2.Division Method (Microsoft.Xna.Framework)

Divides the components of a Vector2 by a scalar.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.819)
  • C#
  • VB
  • F#
public static Vector2 Division(
	Vector2 value1, 
	float divider
)

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.
divider
Type: System.Single
Divisor scalar on the right of the div sign.

Return Value

Type: Microsoft.Xna.Framework.Vector2
The result of dividing a vector by a scalar.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web