Vector2Subtract Method (Vector2, 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 void Subtract(
	ref Vector2 left,
	ref Vector2 right,
	out Vector2 result
)

Parameters

left
Type: RageVector2
The first vector to subtract.
right
Type: RageVector2
The second vector to subtract.
result
Type: RageVector2
When the method completes, contains the difference of the two vectors.
See Also

Reference