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