[]
Scales a vector by the given value.
public static Vector2 Multiply(Vector2 value, float scale)
Type | Name | Description |
---|---|---|
Vector2 | value | The vector to scale. |
float | scale | The amount by which to scale the vector. |
Type | Description |
---|---|
Vector2 | The scaled vector. |
Modulates a vector with another by performing component-wise multiplication.
public static Vector2 Multiply(Vector2 left, Vector2 right)
Type | Name | Description |
---|---|---|
Vector2 | left | The first vector to modulate. |
Vector2 | right | The second vector to modulate. |
Type | Description |
---|---|
Vector2 | The modulated vector. |