Vector3.Divide Method (Microsoft.Xna.Framework)

Divides the components of a Vector3 by a scalar.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.330)
  • C#
  • VB
  • F#
public static Vector3 Divide(
	Vector3 value1, 
	float divider
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value1
Type: Microsoft.Xna.Framework.Vector3
Source Vector3.
divider
Type: System.Single
Divisor scalar.

Return Value

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

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web