Vector2Add Method (Vector2, Vector2, Vector2)

RAGE Plugin Hook Documentation

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

Adds two vectors.

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

public static void Add(
	ref Vector2 left,
	ref Vector2 right,
	out Vector2 result
)

Parameters

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

Reference