Trees | Indices | Help |
|
---|
|
object --+ | Attribute
Simple class defining the type of a plug and several flags that affect it. Additionally it can determine how well suited another attribute is
Nodes are automatically computable if they are affected by another plug. If this is not the case, they are marked input only and are not computed. If this flag is true, even unaffeted plugs are computable. Plugs that affect something are automatically input plugs and will not be computed. If the plug does not affect anything and this flag is False, they are seen as input plugs anyway.
The system does not allow plugs to be input and output plugs at the same time, thus your compute cannot be triggered by your own compute
cls: if True, the plug requires classes to be set ( instances of 'type' ) , but no instances of these classes uncached: if False, computed values may be cached, otherwise they will always be recomputed. unconnectable: if True, the node cannot be the destination of a connection check_passing_values: check each value as it flows through a connection - usually compatability is only checked on connection and once values are set, but not if they flow through an existing connection
|
|||
|
|||
|
|||
Inherited from |
|||
Interface | |||
---|---|---|---|
|
|||
|
|||
|
|||
|
|
|||
check_passing_values = 64
|
|||
cls = 8
|
|||
computable = 4
|
|||
exact_type = 1
|
|||
kGood = 127
|
|||
kNo = 0
|
|||
kPerfect = 255
|
|||
readonly = 2
|
|||
uncached = 16
|
|||
unconnectable = 32
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
Note: for checking connections, use connectionAffinity |
|
|
Note: handles dynamic defaults, so you should not directly access the default member variable |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:12 2011 | http://epydoc.sourceforge.net |