Home > decentraland-ecs > Vector4 > multiplyToRef
Updates the given vector "result" with the multiplication result of the current Vector4 and the given one.
Signature:
multiplyToRef(otherVector: ReadOnlyVector4, result: Vector4): Vector4;
Returns: Vector4
the current Vector4.
Parameter | Type | Description |
---|---|---|
otherVector |
ReadOnlyVector4 |
vector to multiple with |
result |
Vector4 |
vector to store the result |