Vector4.Division Method (Microsoft.Xna.Framework)

Divides the components of a Vector4 by a scalar.

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

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.Vector4
Source Vector4 on the left of the div sign.
Type: System.Single
Divisor scalar on the right of the div sign.

Return Value

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

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop