Vector4.Divide Method (Microsoft.Xna.Framework)

Divides the components of a Vector4 by a scalar.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.398)
  • C#
  • VB
  • F#
public static void Divide(
	Vector4 value1, 
	float divider, 
	out Vector4 result
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value1
Type: Microsoft.Xna.Framework.Vector4
Source Vector4.
divider
Type: System.Single
Divisor scalar.
result
Type: out Microsoft.Xna.Framework.Vector4
The result of dividing a vector by a scalar as an output parameter.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web