[]
Scales a vector by the given value.
public static Vector2 operator *(float scale, Vector2 value)
| Type | Name | Description |
|---|---|---|
| float | scale | The amount by which to scale the vector. |
| Vector2 | value | The vector to scale. |
| Type | Description |
|---|---|
| Vector2 | The scaled vector. |
Scales a vector by the given value.
public static Vector2 operator *(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 operator *(Vector2 left, Vector2 right)
| Type | Name | Description |
|---|---|---|
| Vector2 | left | The first vector to multiply. |
| Vector2 | right | The second vector to multiply. |
| Type | Description |
|---|---|
| Vector2 | The multiplication of the two vectors. |