Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Iterates over all materials in a scene.

Methods

NameDescription
Citerator (Cmaterial)Class constructor.
~CiteratorClass destructor.first
Citerator (Cmaterial)#firstGets first material of the scene.
nextCiterator (Cmaterial)#nextGets next material.

Anchor
ctor
ctor

...

Code Block
languagejavascript
titlePython
it = CmaxwellMaterialIterator();
material = it.first( scene ); 
 
while not material.isNull():
 
  # Do something with the material
 
  material = it.next();   

...