Rebel Fork Framework
Urho3D::ZoneLookupIndex Class Reference

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.

Detailed Description

Acceleration structure for zone search.


The documentation for this class was generated from the following files:
  • Urho3D/Graphics/Octree.h
  • Urho3D/Graphics/Octree.cpp