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

Class RenderPassLinkInfo

object --+
         |
        RenderPassLinkInfo

Stores significant information about a link to a set of passes (rendered from different cameras of a set):

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

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

Class Variables
  tag = "RenderPassLink"
Properties

Inherited from object: __class__

Method Details

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

 

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

Parameters:
  • passes (list of RenderPass)
  • xmlElement (etree.Element)
Overrides: object.__init__

toXmlElement(self)

 

Creates an etree.Element instance from this RenderPassLinkInfo.

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

isEquivalent(self, passes)

 
Parameters:
  • passes (list)
Returns: bool
True if the information in this RenderPassLinkInfo is the same as the information from the given RenderPass instances (which are assumed to come from the same layer and camera set).