Vector2.Sub Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Sub(Vector2, Vector2, Vector2) |
Obsolete.
Subtract one Vector from another |
Sub(Vector2, Vector2) |
Obsolete.
|
Sub(Vector2) |
Obsolete.
Subtract the Vector passed as parameter from this instance. |
Sub(Vector2) |
Obsolete.
Subtract the Vector passed as parameter from this instance. |
Sub(Vector2, Vector2, Vector2)
Caution
Use static Subtract() method instead.
Subtract one Vector from another
[System.Obsolete("Use static Subtract() method instead.")]
public static void Sub (ref OpenTK.Vector2 a, ref OpenTK.Vector2 b, out OpenTK.Vector2 result);
static member Sub : * * -> unit
Parameters
- a
- Vector2
First operand
- b
- Vector2
Second operand
- result
- Vector2
Result of subtraction
- Attributes
Applies to
Sub(Vector2, Vector2)
Caution
Use static Subtract() method instead.
[System.Obsolete("Use static Subtract() method instead.")]
public static OpenTK.Vector2 Sub (OpenTK.Vector2 a, OpenTK.Vector2 b);
static member Sub : OpenTK.Vector2 * OpenTK.Vector2 -> OpenTK.Vector2
Parameters
- a
- Vector2
- b
- Vector2
Returns
- Attributes
Applies to
Sub(Vector2)
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.Vector2 right);
member this.Sub : OpenTK.Vector2 -> unit
Parameters
- right
- Vector2
Right operand. This parameter is only read from.
- Attributes
Applies to
Sub(Vector2)
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.Vector2 right);
member this.Sub : -> unit
Parameters
- right
- Vector2
Right operand. This parameter is only read from.
- Attributes