Vector4.Multiply Method (Microsoft.Xna.Framework)

Multiplies the components of vector by a scalar.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.362)
  • C#
  • VB
  • F#
public static Vector4 Multiply(
	float scaleFactor, 
	Vector4 value
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

scaleFactor
Type: System.Single
Scalar value on the left of the mul sign.
value
Type: Microsoft.Xna.Framework.Vector4
Source Vector4 on the right of the mul sign.

Return Value

Type: Microsoft.Xna.Framework.Vector4
Result of the vector multiplication with a scalar.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web