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:28

Parameters:

Name Type
eventName number
callback ListenerFunction‹EventType›
scope any

Returns: void


# dispatchEvent

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

Inherited from EventDispatcher.dispatchEvent

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

Parameters:

Name Type
eventName number
arg? EventType

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:48

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