EventNode.html.md 438 B

Inheritance: EventDispatcher → Node →

EventNode

EventNode is a node that executes a callback during specific update phases.

Constructor

new EventNode( eventType : string, callback : function )

Creates an EventNode.

eventType

The type of event

callback

The callback to execute on update.

Source

src/nodes/utils/EventNode.js

粤ICP备19079148号