new wcNodeComposite(parent, pos)
The base class for all composite nodes.
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: