Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Iterates over all objects in a scene.

Methods

NameDescription
CiteratorClass constructor.
~CiteratorClass destructor.
Citerator (Cmaterial)#firstfirstGets first object of the scene.
Citerator (Cmaterial)#nextnextGets next object.

Anchor
ctor
ctor

...

Code Block
languagecpp
titleC++
Cmaxwell::Cobject::Citerator it;
Cmaxwell::Cobject object = it.first( scene );
 
while( !object.isNull() )
{
 
  // Do something with the object
  
  object = it.next();
}     
javascript
Code Block
language
titlePython
it = CmaxwellCobjectIterator();
object = it.first( scene ); 
 
while not object.isNull():
 
  # Do something with the object
 
  object= it.next();   

 

...