![]() |
RAMSES Documentation
27.0.130
Information for RAMSES users and developers
|
The SceneObjectIterator traverses objects in a Scene. More...
#include <SceneObjectIterator.h>
Public Member Functions | |
| SceneObjectIterator (const Scene &scene, ERamsesObjectType objectType=ERamsesObjectType_RamsesObject) | |
| A SceneObjectIterator can iterate through objects of given type within a scene. More... | |
| ~SceneObjectIterator () | |
| Destructor. More... | |
| RamsesObject * | getNext () |
| Iterate through all objects of given type. More... | |
The SceneObjectIterator traverses objects in a Scene.
It provides a way to traverse all objects owned by a given scene.
|
explicit |
A SceneObjectIterator can iterate through objects of given type within a scene.
| [in] | scene | Scene whose objects to iterate through |
| [in] | objectType | Optional type of objects to iterate through. |
| ramses::SceneObjectIterator::~SceneObjectIterator | ( | ) |
Destructor.
| RamsesObject* ramses::SceneObjectIterator::getNext | ( | ) |
Iterate through all objects of given type.
Iterator is invalid and may no longer be used if any objects are added or removed.