Home > decentraland-ecs > Vector3 > subtract
Returns a new Vector3, result of the subtraction of the given vector from the current Vector3
Signature:
subtract(otherVector: ReadOnlyVector3): Vector3;
Returns: Vector3
the resulting Vector3
Parameter | Type | Description |
---|---|---|
otherVector |
ReadOnlyVector3 |
defines the second operand |