Operator Subtraction
Subtraction(Vector3, Vector3)
Subtracts two vectors.
Declaration
public static Vector3 operator -(Vector3 left, Vector3 right)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | left | The first vector to subtract. |
| Vector3 | right | The second vector to subtract. |
Returns
| Type | Description |
|---|---|
| Vector3 | The difference of the two vectors. |