Click or drag to resize

Vector2Multiply Operator (Single, Vector2)

Multiplies the components Vector2 by the given scalar and stores them in a new Vector2.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static Vector2 operator *(
	float scalar,
	Vector2 vector
)

Parameters

scalar
Type: SystemSingle
The scalar.
vector
Type: SampSharp.Entities.SAMPVector2
The Vector2.

Return Value

Type: Vector2
The new Vector2.
See Also