...
Iterates over all materials in a scene.
Methods
Name | Description |
---|---|
Citerator (Cmaterial) | Class constructor. |
~Citerator | Class destructor. |
Citerator (Cmaterial)#firstfirst | Gets first material of the scene. |
Citerator (Cmaterial)#nextnext | Gets next material. |
Anchor | ||||
---|---|---|---|---|
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
Cmaxwell::Cmaterial::Citerator it; Cmaxwell::Cmaterial material = it.first( scene ); |
Code Block | language | javascript|
---|---|---|
| ||
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 | ||||
---|---|---|---|---|
| ||||
it = CmaxwellMaterialIterator(); material = it.first( scene ); while not material.isNull(): # Do something with the material material = it.next(); |
...