Vector2Multiply Operator (Single, Vector2)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Scales a vector by the given value.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Vector2 operator *(
	float scale,
	Vector2 vector
)

Parameters

scale
Type: SystemSingle
The amount by which to scale the vector.
vector
Type: RageVector2
The vector to scale.

Return Value

Type: Vector2
The scaled vector.
See Also

Reference