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