0
1.0
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Optional
root: Object3D<Object3DEventMap> | AnimationObjectGroupOptional
blendMode: AnimationBlendModeFire an event type.
The event that gets fired.
Optional
root: Object3D<Object3DEventMap> | AnimationObjectGroupChecks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Optional
root: Object3D<Object3DEventMap> | AnimationObjectGroup
JavaScript events for custom objects
Example
See