Python API 2.0 Reference: OpenMayaRender.MSubSceneContainerIterator Class Reference

OpenMayaRender.MSubSceneContainerIterator Class Reference
+ Inheritance diagram for OpenMayaRender.MSubSceneContainerIterator:

Public Member Functions

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

Detailed Description

Iterator over render items of MSubSceneContainer object.

Constructor & Destructor Documentation

OpenMayaRender.MSubSceneContainerIterator.__init__ ( )
x.__init__(...) initializes x; see x.__class__.__doc__ 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.