Method IsUniform
IsUniform(Vector2)
Checks whether the vector components are the same value.
Declaration
public static bool IsUniform(this Vector2 v)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | v | Vector to check |
Returns
Type | Description |
---|---|
bool | True, if the vector elements are the same. False, otherwise. |
IsUniform(Vector3)
Checks whether the vector components are the same value.
Declaration
public static bool IsUniform(this Vector3 v)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | v | Vector to check |
Returns
Type | Description |
---|---|
bool | True, if the vector elements are the same. False, otherwise. |