[]
Scales a vector by the given value.
public static Vector3 operator *(float scale, Vector3 value)
Type | Name | Description |
---|---|---|
float | scale | The amount by which to scale the vector. |
Vector3 | value | The vector to scale. |
Type | Description |
---|---|
Vector3 | The scaled vector. |
Scales a vector by the given value.
public static Vector3 operator *(Vector3 value, float scale)
Type | Name | Description |
---|---|---|
Vector3 | value | The vector to scale. |
float | scale | The amount by which to scale the vector. |
Type | Description |
---|---|
Vector3 | The scaled vector. |
Modulates a vector with another by performing component-wise multiplication.
public static Vector3 operator *(Vector3 left, Vector3 right)
Type | Name | Description |
---|---|---|
Vector3 | left | The first vector to multiply. |
Vector3 | right | The second vector to multiply. |
Type | Description |
---|---|
Vector3 | The multiplication of the two vectors. |