![]() |
Lysa
0.0
Lysa 3D Engine
|
Axis-aligned bounding box in model or world space.
Lua full name: lysa.AABB
Public Member Functions | |
| AABB | to_global () |
| Transforms this model-space AABB to world space using the owning instance's transform. More... | |
Properties | |
| float3 | min |
| Minimum corner of the bounding box. | |
| float3 | max |
| Maximum corner of the bounding box. | |
| float3 | center |
| Volumetric center (midpoint of min and max). (read-only) | |
|
Transforms this model-space AABB to world space using the owning instance's transform.
| float3 min |
Minimum corner of the bounding box.
| float3 max |
Maximum corner of the bounding box.
| float3 center |
Volumetric center (midpoint of min and max). (read-only)