OpenMayaRender.MSubSceneContainerIterator Class Reference

OpenMayaRender.MSubSceneContainerIterator Class Reference

Class Description

Iterator over render items of MSubSceneContainer object.
+ Inheritance diagram for OpenMayaRender.MSubSceneContainerIterator:

Public Member Functions

__init__ ()
 
destroy ()
 
next ()
 
reset ()
 

Constructor & Destructor Documentation

OpenMayaRender.MSubSceneContainerIterator.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

OpenMayaRender.MSubSceneContainerIterator.destroy ( )
destroy() -> self

Call this method to delete the iterator. After calling, the iterator will be invalid.
Users of MSubSceneContainer iterators are responsible for deleting the iterators after use.
OpenMayaRender.MSubSceneContainerIterator.next ( )
next() -> MRenderItem

Advance the iterator to the next render item in the associated MSubSceneContainer and return it.

Returns the next render item in the container or None if no more items.
OpenMayaRender.MSubSceneContainerIterator.reset ( )
reset() -> self

Reset the iterator to the beginning of the associated MSubSceneContainer.
The next call to the next() method will return the first render item in the container.

The documentation for this class was generated from the following file:
  • D:/Maya-MD-Merge/input/python/2.0/OpenMayaRender.py