Page 1 of 1

Get all object in the scene

Posted: Sat Jun 16, 2007 1:13 pm
by sebi707
i want to write my own scene importer and exporter. loading a scene is not the problem but how to write an exporter? i need to get all objets and entitiys in the scene but i can't find a function for this in the API.

Posted: Sat Jun 16, 2007 1:54 pm
by hybrid
You simply traverse the scene node graph. Each scene node, beginning with the root node, has children you'll have to visit.