|
Rebel Fork Framework
|
Acceleration structure for zone search. More...
#include <Urho3D/Graphics/Octree.h>
Classes | |
| struct | ZoneData |
| Cached zone parameters. More... | |
Public Member Functions | |
| ZoneLookupIndex (Context *context) | |
| void | Commit () |
| Commit all updates. Called on every frame. | |
| CachedDrawableZone | QueryZone (const Vector3 &position, unsigned zoneMask) const |
| Query zone for given position and mask. | |
| Zone * | GetBackgroundZone () const |
| Return background zone. | |
Manage zones | |
| void | AddZone (Zone *zone) |
| void | UpdateZone (Zone *zone) |
| void | RemoveZone (Zone *zone) |
Private Attributes | |
| Zone * | defaultZone_ {} |
| Default zone. | |
| ea::vector< Zone * > | zones_ |
| Zones. | |
| ea::vector< ZoneData > | zonesData_ |
| Cached zone parameters. | |
| bool | zonesDirty_ {} |
| Whether zones are dirty. | |
Acceleration structure for zone search.