A class in Root.Township, the global namespace.
A Bounds with a world rotation, for testing whether a point lies inside a rotated box.
Constructors
| Member | What it is |
|---|
BoundsContainer() | Creates a BoundsContainer with default values. |
Fields
| Member | What it is |
|---|
Bounds bounds | The box, in rotated space. |
Quaternion worldRotation | The box's rotation. |
Methods
| Member | What it is |
|---|
bool CheckPosition(Vector3 position) | Rotates the point by the inverse rotation and checks it against the bounds. The bounds centre is in that rotated space. |