Python API 2.0 Reference
OpenMayaRender.MSubSceneContainerIterator Class Reference
+ Inheritance diagram for OpenMayaRender.MSubSceneContainerIterator:

Public Member Functions

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

Static Public Member Functions

def __new__ ()
 

Detailed Description

Iterator over render items of MSubSceneContainer object.

Constructor & Destructor Documentation

def OpenMayaRender.MSubSceneContainerIterator.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMayaRender.MSubSceneContainerIterator.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
def 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.
def 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.
def 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.