編輯

共用方式為


Vector2d.Sub Method

Definition

Overloads

Sub(Vector2d)
Obsolete.

Subtract the Vector passed as parameter from this instance.

Sub(Vector2d)
Obsolete.

Subtract the Vector passed as parameter from this instance.

Sub(Vector2d, Vector2d)
Obsolete.
Sub(Vector2d, Vector2d, Vector2d)
Obsolete.

Subtract one Vector from another

Sub(Vector2d)

Caution

Use static Subtract() method instead.

Subtract the Vector passed as parameter from this instance.

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

Parameters

right
Vector2d

Right operand. This parameter is only read from.

Attributes

Applies to

Sub(Vector2d)

Caution

Use static Subtract() method instead.

Important

This API is not CLS-compliant.

Subtract the Vector passed as parameter from this instance.

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

Parameters

right
Vector2d

Right operand. This parameter is only read from.

Attributes

Applies to

Sub(Vector2d, Vector2d)

Caution

Use static Subtract() method instead.

[System.Obsolete("Use static Subtract() method instead.")]
public static OpenTK.Vector2d Sub (OpenTK.Vector2d a, OpenTK.Vector2d b);
static member Sub : OpenTK.Vector2d * OpenTK.Vector2d -> OpenTK.Vector2d

Parameters

Returns

Attributes

Applies to

Sub(Vector2d, Vector2d, Vector2d)

Caution

Use static Subtract() method instead.

Subtract one Vector from another

[System.Obsolete("Use static Subtract() method instead.")]
public static void Sub (ref OpenTK.Vector2d a, ref OpenTK.Vector2d b, out OpenTK.Vector2d result);
static member Sub :  *  *  -> unit

Parameters

a
Vector2d

First operand

b
Vector2d

Second operand

result
Vector2d

Result of subtraction

Attributes

Applies to