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.
 
ZoneGetBackgroundZone () const
 Return background zone.
 
Manage zones
void AddZone (Zone *zone)
 
void UpdateZone (Zone *zone)
 
void RemoveZone (Zone *zone)
 

Private Attributes

ZonedefaultZone_ {}
 Default zone.
 
ea::vector< Zone * > zones_
 Zones.
 
ea::vector< ZoneDatazonesData_
 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: