Vector2.Add Vector2.Add Method

Definition

Overloads

Add(Vector2, Vector2) Add(Vector2, Vector2)
Add(Vector2, Vector2, Vector2) Add(Vector2, Vector2, Vector2)

Add two Vectors

Add(Vector2) Add(Vector2)

Add the Vector passed as parameter to this instance.

Add(Vector2) Add(Vector2)

Add the Vector passed as parameter to this instance.

Add(Vector2, Vector2) Add(Vector2, Vector2)

public static OpenTK.Vector2 Add (OpenTK.Vector2 a, OpenTK.Vector2 b);
static member Add : OpenTK.Vector2 * OpenTK.Vector2 -> OpenTK.Vector2

Parameters

Returns

Add(Vector2, Vector2, Vector2) Add(Vector2, Vector2, Vector2)

Add two Vectors

public static void Add (ref OpenTK.Vector2 a, ref OpenTK.Vector2 b, out OpenTK.Vector2 result);
static member Add :  *  *  -> unit

Parameters

a
Vector2 Vector2

First operand

b
Vector2 Vector2

Second operand

result
Vector2 Vector2

Result of addition

Add(Vector2) Add(Vector2)

Warning

This API is now obsolete.

Add the Vector passed as parameter to this instance.

[System.Obsolete("Use static Add() method instead.")]
public void Add (OpenTK.Vector2 right);
member this.Add : OpenTK.Vector2 -> unit

Parameters

right
Vector2 Vector2

Right operand. This parameter is only read from.

Add(Vector2) Add(Vector2)

Warning

This API is now obsolete.

Important

This API is not CLS-compliant.

Add the Vector passed as parameter to this instance.

[System.CLSCompliant(false)]
[System.Obsolete("Use static Add() method instead.")]
public void Add (ref OpenTK.Vector2 right);
member this.Add :  -> unit

Parameters

right
Vector2 Vector2

Right operand. This parameter is only read from.

Applies to