Vector2d.Multiply (Double, Vector2d) Operator

Multiplies the length of the vector with a factor (scales it)
Public Shared Operator *( _ 
ByVal scale As Double, _ 
ByVal v As Vector2d
) As Vector2d
This language is not supported or no code example is available.
public static Vector2d operator *( 
double scale
Vector2d v 
)
This language is not supported or no code example is available.
public:  
static Vector2d^ operator *( 
double scale
Vector2d^ v 
)
This language is not supported or no code example is available.
JScript supports the use of overloaded operators, but not the declaration of new ones.
This language is not supported or no code example is available.

Parameters

scale
double

The factor to multiply with

v
Vector2d

The vector to scale.

Return Value

Vector2d

A new vector which has the same angle as the one sent but length multiplied with the factor.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition