HostPlugΒΆ
class HostPlug
A Plug that is synchronized to a host attribute
Hierarchy
class HostPlug < class BakePlug < class Plug
Children classes : class DynAttrPlug
Members
Inherited from class Plug
Methods:
| isconnected | (
|
Test if a plug is connected to another |
| hasoutputs | ( ) | Tells if the plug is connected in output to some other plugs |
| adddependency | (
|
Connect an output plug to this plug |
| removedependency | (
|
Connect an output plug to this plug |
| removealldependencies | ( ) | Remove all input dependencies of this plug |
| hasdependencies | ( ) | Tells if the plug is dependent on other plugs |
| getbackdependencies | ( ) | Retrieve the list of plugs this plug has dependencies on, or nil if none |
| hasbackdependencies | ( ) | Tells if some plugs are dependent on this plug |
| getname | ( ) | Returns the name of the plug in its parent |
| getpath | ( ) | Returns the path of the plug |
| getflags | ( ) | Gets the plug flags. |
| getflag | (
|
Get a specific plug flag. |
| isanimatable | ( ) | Tells if the plug value can be animated |
| gettype | ( ) | Get the type associated to the plug |
| isrefoverriden | ( ) | Tells if the plug state is overriden from its reference state |
| tostring | ( ) | Returns a human readble string of the plug's value |
| getdependencies | ( ) | Retrieve the list of plugs this plug is dependent on, or nil if none |
| adddependencies | (
|
Connect outputs plug to this plug |
| removedependencies | (
|
Connect an output plug to this plug |
| get | ( ) | Returns the value of a plug. The plug must be readable. |
| set | (
|
Set the value of a plug. The plug must be writable. |
| getraw | ( ) | Returns the raw value of a plug, regardless of its invalidation state. |
| isvalid | ( ) | Returns the validity status of the plug |
| validate | ( ) | Force the plug validation by evaluating the plug. |
| setvalid | ( ) | Force the plug valid state, but the plug is not evaluated. |
| touch | ( ) | Invalidate this plug |
| connect | (
|
Connect an output plug to this plug |
| getoutputs | ( ) | Returns the list of output connections |
| disconnectall | ( ) | Disconnect a plug from all its connections |
| disconnect | (
|
Disconnect an output plug from this plug |
| disconnectcontrol | ( ) | Disconnect the plug from its input and delete the input if it is a control and it is no longer connected |
| getnode | ( ) | Returns the parent node of the plug |
| isdependent | (
|
Returns true if this plug is dependent on other |
| getinput | ( ) | Returns the input connection |
| delete | ( ) | Delete this plug. |
| setflags | (
|
Sets the plug flags |
| getinmotion | (
|
Return an array of values of this plug evaluated in time. |
Functions:
| flushinvalidation | ( ) | Flush the invalidation counter |