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