[]
        
(Showing Draft Content)

C1.Util.DX.Vector2.AddRef

AddRef Method

AddRef(out Vector2, ref Vector2, ref Vector2)

Adds two vectors.

Declaration
public static void AddRef(out Vector2 result, ref Vector2 left, ref Vector2 right)
Public Shared Sub AddRef(ByRef result As Vector2, ByRef left As Vector2, ByRef right As Vector2)
Parameters
Type Name Description
Vector2 result

When the method completes, contains the sum of the two vectors.

Vector2 left

The first vector to add.

Vector2 right

The second vector to add.