API ReferenceGlobalsSceneEventHandler

# Class: SceneEventHandler <EventType>

# Type parameters

EventType

# Hierarchy

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new SceneEventHandler(creator: string, scene: Scene, camera: Camera, inputManager: InputManager): SceneEventHandler

Defined in packages/common-core/src/webgl/scene-event-handler.ts:13

Parameters:

Name Type
creator string
scene Scene
camera Camera
inputManager InputManager

Returns: SceneEventHandler

# Properties

# creator

creator: string

_Implementation of Context.creator_

Defined in packages/common-core/src/webgl/scene-event-handler.ts:7

# Methods

# addEventListener

addEventListener(eventName: number, callback: ListenerFunction‹EventType›, scope: any): void

Inherited from EventDispatcher.addEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:29

Parameters:

Name Type
eventName number
callback ListenerFunction‹EventType›
scope any

Returns: void


# disableEvents

disableEvents(): void

Inherited from EventDispatcher.disableEvents

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:67

Returns: void


# dispatchEvent

dispatchEvent(eventName: number, arg?: EventType): void

Inherited from EventDispatcher.dispatchEvent

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:33

Parameters:

Name Type
eventName number
arg? EventType

Returns: void


# enableEvents

enableEvents(): void

Inherited from EventDispatcher.enableEvents

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:63

Returns: void


# isDragIn

isDragIn(): boolean

Defined in packages/common-core/src/webgl/scene-event-handler.ts:24

Returns: boolean


# removeEventListener

removeEventListener(eventName: number, fun: ListenerFunction‹EventType›): void

Inherited from EventDispatcher.removeEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:49

Parameters:

Name Type
eventName number
fun ListenerFunction‹EventType›

Returns: void


# setDragIn

setDragIn(dragIn: boolean, dragEvent?: DragEvent): void

Defined in packages/common-core/src/webgl/scene-event-handler.ts:28

Parameters:

Name Type
dragIn boolean
dragEvent? DragEvent

Returns: void