...
Iterates over all cameras in the scene.
Methods
Name | Description |
---|---|
Citerator (Ccamera) | Class constructor. |
~Citerator | Class destructor. |
Citerator (Ccamera)#firstfirst | Gets first camera of the scene. |
next | Gets next camera. |
Anchor | ||||
---|---|---|---|---|
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
Cmaxwell::Ccamera::Citerator it; Cmaxwell::Ccamera camera = it.first( scene ); |
Code Block | language | javascript|
---|---|---|
| ||
it = CmaxwellCameraIterator(); camera = it.first( scene ); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Cmaxwell::Ccamera::Citerator it; Cmaxwell::Ccamera camera = it.first( scene ); while( !camera.isNull() ) { // Do something with the camera. camera = it.next(); } |
Code Block | language | javascript|
---|---|---|
| ||
it = CmaxwellCameraIterator(); camera = it.first( scene ); while not camera.isNull(): # Do something with the camera. camera = it.next(); |
...