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