Python API 2.0 Reference
|
Public Member Functions | |
def | __init__ () |
def | destroy () |
def | next () |
def | reset () |
Static Public Member Functions | |
def | __new__ () |
Iterator over render items of MSubSceneContainer object.
def OpenMayaRender.MSubSceneContainerIterator.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
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.