編輯

共用方式為


Vector3.Sub Method

Definition

Overloads

Sub(Vector3)
Obsolete.

Subtract the Vector passed as parameter from this instance.

Sub(Vector3)
Obsolete.

Subtract the Vector passed as parameter from this instance.

Sub(Vector3, Vector3)
Obsolete.
Sub(Vector3, Vector3, Vector3)
Obsolete.

Subtract one Vector from another

Sub(Vector3)

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.Vector3 right);
member this.Sub : OpenTK.Vector3 -> unit

Parameters

right
Vector3

Right operand. This parameter is only read from.

Attributes

Applies to

Sub(Vector3)

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.Vector3 right);
member this.Sub :  -> unit

Parameters

right
Vector3

Right operand. This parameter is only read from.

Attributes

Applies to

Sub(Vector3, Vector3)

Caution

Use static Subtract() method instead.

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

Parameters

Returns

Attributes

Applies to

Sub(Vector3, Vector3, Vector3)

Caution

Use static Subtract() method instead.

Subtract one Vector from another

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

Parameters

a
Vector3

First operand

b
Vector3

Second operand

result
Vector3

Result of subtraction

Attributes

Applies to