User Tools

Site Tools


en:examples:objects:counting_all_objects

This is an old revision of the document!


Getting the total count of all Objects

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

Code

orxU32 totalObjectsCount = orxStructure_GetCounter(orxSTRUCTURE_ID_OBJECT);

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

en/examples/objects/counting_all_objects.1518583665.txt.gz · Last modified: 2018/02/14 00:47 (7 years ago) (external edit)