Bewerken

Delen via


Vector2.Add Method

Definition

Overloads

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

Add two Vectors

Add(Vector2)
Obsolete.

Add the Vector passed as parameter to this instance.

Add(Vector2)
Obsolete.

Add the Vector passed as parameter to this instance.

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

Applies to

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

First operand

b
Vector2

Second operand

result
Vector2

Result of addition

Applies to

Add(Vector2)

Caution

Use static Add() method instead.

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

Right operand. This parameter is only read from.

Attributes

Applies to

Add(Vector2)

Caution

Use static Add() method instead.

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

Right operand. This parameter is only read from.

Attributes

Applies to