Vector2Subtract Method (Vector2, Vector2)

RAGE Plugin Hook Documentation

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

Subtracts two vectors.

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

public static Vector2 Subtract(
	Vector2 left,
	Vector2 right
)

Parameters

left
Type: RageVector2
The first vector to subtract.
right
Type: RageVector2
The second vector to subtract.

Return Value

Type: Vector2
The difference of the two vectors.
See Also

Reference