Inherited from interface.iDuplicatable :
copyTo ,
copyToOther ,
duplicate
Inherited from interface.Interface :
supports
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
__init__(self,
*args,
**kwargs)
We require a directed graph to track the connectivity between the plugs. |
source code
|
|
|
__del__(self)
Remove ourselves from the graph and delete our connections |
source code
|
|
|
|
|
|
|
copyFrom(self,
other,
add_to_graph=True)
Just take the graph from other, but do not ( never ) duplicate it |
source code
|
|
|
compute(self,
plug,
mode)
Called whenever a plug needs computation as the value its value is not
cached or marked dirty ( as one of the inputs changed ) |
source code
|
|
|
setID(self,
newID)
Set id of this node to newiD
:return: previously assigned id |
source code
|
|
|
|
|
|
|
|
|
clearCache(self)
Clear the cache of all plugs on this node - this basically forces it
to recompute the next time an output plug is being queried |
source code
|
|
|
plugs(self,
predicate=<function <lambda> at 0x2f59cf8>)
Returns:
list of dynamic plugs as defined on this node - they are usually retrieved
on class level, but may be overridden on instance level |
source code
|
|
|
|
|
|
|
connections(self,
inpt,
output)
Returns:
Tuples of input shells defining a connection of the given type from
tuple( InputNodeOuptutShell, OurNodeInputShell ) for input connections and
tuple( OurNodeOuptutShell, OutputNodeInputShell ) |
source code
|
|