Edit

Share via


Vector4.Sub Method

Definition

Overloads

Sub(Vector4, Vector4, Vector4)

Subtract one Vector from another

Sub(Vector4)
Obsolete.

Subtract the Vector passed as parameter from this instance.

Sub(Vector4)
Obsolete.

Subtract the Vector passed as parameter from this instance.

Sub(Vector4, Vector4)

Sub(Vector4, Vector4, Vector4)

Subtract one Vector from another

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

Parameters

a
Vector4

First operand

b
Vector4

Second operand

result
Vector4

Result of subtraction

Applies to

Sub(Vector4)

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

Parameters

right
Vector4

Right operand. This parameter is only read from.

Attributes

Applies to

Sub(Vector4)

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

Parameters

right
Vector4

Right operand. This parameter is only read from.

Attributes

Applies to

Sub(Vector4, Vector4)

public static OpenTK.Vector4 Sub (OpenTK.Vector4 a, OpenTK.Vector4 b);
static member Sub : OpenTK.Vector4 * OpenTK.Vector4 -> OpenTK.Vector4

Parameters

Returns

Applies to