GetVisibleEntities /Scene and entities

void GetVisibleEntities(ETHEntityArray &outArray)

Fills &outArray with handles to all visible entities.

All entities from buckets that are currently in the screen area will be inserted into the array.

This function is accumulative, previous data in the array will be kept.

Warning! Depending on how many entities the scene has, this function may become expensive to the CPU. Using this function too many times inside the game loop must be avoided. Consider retrieving those entities before the game loop starts and store them in an accessible place.