Operator Division
Division(Vector2, Single)
Scales a vector by the given value.
Declaration
public static Vector2 operator /(Vector2 vector, float scale)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | vector | The vector to scale. |
System.Single | scale | The amount by which to scale the vector. |
Returns
Type | Description |
---|---|
Vector2 | The scaled vector. |