Class: World
Lua
C++
Edit

World::GetEntitiesInArea

This method efficiently retrieves all entities that intersect the specified bounding box.

Syntax

vector<shared_ptr<Entity> > GetEntitiesInArea(const Vec3& minbounds, const Vec3& maxbounds)

Parameter Description
minbounds lower bounds of area
maxbounds upper bounds of area

Returns

Returns all top-level entities that intersect the specified bounding box, or have entities in their sub-hierarchy that intersect the bounding box.

Copyright © 2024 Ultra Software.
All rights reserved.