Vector2Extensions.SetUniformly
Extension Method in Vector2Extensions
Declaration
public static Vector2 SetUniformly(this Vector2 vector, float value)
Description
Sets all components of the vector to the given value.
Parameters
vector | The vector to set. |
value | The uniform component value. |
Returns
Vector2 | A new vector with the uniform component value. |