Click or drag to resize

Vector2Add Method

Adds two vectors.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public static void Add(
	ref Vector2 v1,
	ref Vector2 v2,
	out Vector2 result
)

Parameters

v1
Type: NeoAxisVector2
The first vector to add.
v2
Type: NeoAxisVector2
The second vector to add.
result
Type: NeoAxisVector2
When the method completes, contains the sum of the two vectors.
See Also