Retrieve the registered event types.
Array of event types.
Checks if listener is added to an event type.
The type of event to listen to.
Optional
listener: ((event) => void)The function that gets called when the event is fired.
Generated using TypeDoc
JavaScript events for custom objects. Stores all listeners to allow removing all listeners for housekeeping.
Will be replaced by
THREE.EventDispatcher
once https://github.com/mrdoob/three.js/pull/19844 is released.