Method IsAxisAligned
IsAxisAligned(Vector3)
Checks if a vector is aligned with one of the axis vectors.
Declaration
public static bool IsAxisAligned(this Vector3 v)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | v | The vector. |
Returns
| Type | Description |
|---|---|
| bool | True if the vector is aligned with any axis, otherwise false. |