Package autodesk_toxik :: Module precomp :: Class RenderLayerInfo
[frames] | no frames]

Class RenderLayerInfo

object --+
         |
        RenderLayerInfo

Stores significant information about a set of layers (rendered from different cameras of a set):

Instance Methods
 
__init__(self, layers=None, xmlElement=None)
Constructor from either a list of RenderLayer instances (which are assumed to come from the same camera set) or an etree.Element instance.
etree.Element
toXmlElement(self)
Creates an etree.Element instance from this RenderLayerInfo.
bool
isEquivalent(self, layers)
Returns: True if the information in this RenderLayerInfo is the same as the information from the given RenderLayer instances (which are assumed to come from the same camera set).

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  tag = "RenderLayer"
Properties

Inherited from object: __class__

Method Details

__init__(self, layers=None, xmlElement=None)
(Constructor)

 

Constructor from either a list of RenderLayer instances (which are assumed to come from the same camera set) or an etree.Element instance.

Parameters:
  • layers (list of RenderLayer)
  • xmlElement (etree.Element)
Overrides: object.__init__

toXmlElement(self)

 

Creates an etree.Element instance from this RenderLayerInfo.

Returns: etree.Element
The created etree.Element instance.

isEquivalent(self, layers)

 
Parameters:
Returns: bool
True if the information in this RenderLayerInfo is the same as the information from the given RenderLayer instances (which are assumed to come from the same camera set).