API Reference > ui-components > Viewport > CubeRotationChangeEvent CubeRotationChangeEvent Class 3d Cube Rotation Change event Extends UiEvent<CubeRotationChangeEventArgs> Inherited methods Name Inherited from Description addListener(listener: (args: CubeRotationChangeEventArgs) => void, scope?: any): () => void BeEvent Registers a Listener to be executed whenever this event is raised. addOnce(listener: (args: CubeRotationChangeEventArgs) => void, scope?: any): () => void BeEvent Registers a callback function to be executed only once when the event is raised. clear(): void BeEvent Clear all Listeners from this BeEvent. emit(args: CubeRotationChangeEventArgs): void BeUiEvent Raises event with single strongly typed argument. has(listener: (args: CubeRotationChangeEventArgs) => void, scope?: any): boolean BeEvent Determine whether this BeEvent has a specified listener registered. raiseEvent(...args: any[]): void BeEvent Raises the event by calling each registered listener with the supplied arguments. removeListener(listener: (args: CubeRotationChangeEventArgs) => void, scope?: any): boolean BeEvent Un-register a previously registered listener. Inherited properties Name Type Inherited from Description numberOfListeners Accessor ReadOnly number BeEvent The number of listeners currently subscribed to the event. Defined in ui/components/src/ui-components/viewport/ViewportComponentEvents.ts Line 39 Last Updated: 13 June, 2024