Versions Compared

Key

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

...

Iterates over all cameras in the scene.

Methods

NameDescription
Citerator (Ccamera)Class constructor.
~CiteratorClass destructor.
Citerator (Ccamera)#firstfirstGets first camera of the scene.
nextGets next camera.

Anchor
ctor
ctor

...

Code Block
languagecpp
titleC++
Cmaxwell::Ccamera::Citerator it;
Cmaxwell::Ccamera camera = it.first( scene ); 
Code Block
languagejavascript
titlePython
it = CmaxwellCameraIterator();
camera = it.first( scene ); 

...

Code Block
languagecpp
titleC++
Cmaxwell::Ccamera::Citerator it;
Cmaxwell::Ccamera camera = it.first( scene );

while( !camera.isNull() )
{
  // Do something with the camera.

  camera = it.next();
}        
javascript
Code Block
language
titlePython
it = CmaxwellCameraIterator();
camera = it.first( scene );

while not camera.isNull():

  # Do something with the camera.

  camera = it.next();       

 

 

 

 

 

...