The prototype declaration contains:
-
a list of public eventIns and eventOuts that can send and receive events
-
a list of public exposedFields and fields, with default values
|
The prototype definition contains a list of one or more nodes, and zero or more routes and prototypes.
|
The first node in definition is used to define node type
-
e.g. if first node is sphere, then this prototype can be used wehenever a sphere node could
|
Following nodes can be used in routes and scripts but are NOT rendered
-
rendering based on declaration
|
The nodes in this declaration list may also contain the IS syntax associates field and event names contained within the prototype definition with the events and fields names in the prototype declaration.
|