User Tools

Site Tools


Getting the total count of all Objects

This function will return the total count of all current objects.


orxU32 totalObjectsCount = orxStructure_GetCounter(orxSTRUCTURE_ID_OBJECT);

Counts of other structure types can also be called. See: orxSTRUCTURE_ID in the API

examples/objects/counting_all_objects.txt · Last modified: 2016/11/30 06:10 (6 months ago) by sausage