new wcNodeProcess(parent, pos)
The base class for all process nodes. These are nodes that make up the bulk of script chains.
When inheriting, make sure to include 'this._super(parent, pos);' at the top of your init function.
Should be inherited and never constructed directly.
Parameters:
| Name | Type | Description |
|---|---|---|
parent |
string | The parent object of this node. |
pos |
wcPlay~Coordinates | The position of this node in the visual editor. |
- Source:
Methods
-
function classInit(className, type, category) -
Magic function that is called whenever any new class type is extended from this one.
Handles initializing of the class as well as registering the new node type.Parameters:
Name Type Description classNamestring The name of the class constructor. typestring The type name for the node. categorystring A category where this node will be grouped. - Source: