This method efficiently retrieves all entities that intersect the specified bounding box.
vector<shared_ptr<Entity> > GetEntitiesInArea(const Vec3& minbounds, const Vec3& maxbounds)
Parameter | Description |
---|---|
minbounds | lower bounds of area |
maxbounds | upper bounds of area |
Returns all top-level entities that intersect the specified bounding box, or have entities in their sub-hierarchy that intersect the bounding box.