API ReferenceGlobalsSceneManager

# Class: SceneManager

# Hierarchy

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new SceneManager(creator: string, offset: CanvasOffset, canvasID: string, mode?: CAMERA_TYPE, transparent?: boolean): SceneManager

Defined in packages/common-core/src/webgl/scene-manager.ts:100

Parameters:

Name Type
creator string
offset CanvasOffset
canvasID string
mode? CAMERA_TYPE
transparent? boolean

Returns: SceneManager

# Properties

# creator

creator: string

Implementation of Context.creator

Defined in packages/common-core/src/webgl/scene-manager.ts:37

# Methods

# cameraControlChanged

cameraControlChanged(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:138

Returns: void


# cleanUp

cleanUp(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:335

Returns: void


# clearScene

clearScene(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:343

Returns: void


# destroy

destroy(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:501

Returns: void


# enableHD

enableHD(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:357

Returns: void


# Abstract getBakedShadowParams

getBakedShadowParams(): BakedShadowParams

Defined in packages/common-core/src/webgl/scene-manager.ts:92

Returns: BakedShadowParams


# Abstract getBounds

getBounds(): Box3

Defined in packages/common-core/src/webgl/scene-manager.ts:90

Returns: Box3


# getCameraOffset

getCameraOffset(): CanvasOffset

Defined in packages/common-core/src/webgl/scene-manager.ts:624

Returns: CanvasOffset


# getPerspectiveOffsetCamera

getPerspectiveOffsetCamera(): PerspectiveOffsetCamera

Defined in packages/common-core/src/webgl/scene-manager.ts:632

Returns: PerspectiveOffsetCamera


# Abstract getPixotronParams

getPixotronParams(): any

Defined in packages/common-core/src/webgl/scene-manager.ts:88

Returns: any


# getScene

getScene(): Scene

Defined in packages/common-core/src/webgl/scene-manager.ts:589

Returns: Scene


# handleEvent

handleEvent(evt: Event): void

Defined in packages/common-core/src/webgl/scene-manager.ts:506

Parameters:

Name Type
evt Event

Returns: void


# loadDynamicLightSetting

loadDynamicLightSetting(source: DynamicLightSettingSource): Promise‹void›

Defined in packages/common-core/src/webgl/scene-manager.ts:565

Parameters:

Name Type
source DynamicLightSettingSource

Returns: Promise‹void›


# loadQualitySetting

loadQualitySetting(qualitySetting: QualitySetting): void

Defined in packages/common-core/src/webgl/scene-manager.ts:558

Parameters:

Name Type
qualitySetting QualitySetting

Returns: void


# loadSceneSettings

loadSceneSettings(sceneSetting: SceneSettings): Promise‹void›

Defined in packages/common-core/src/webgl/scene-manager.ts:520

Parameters:

Name Type
sceneSetting SceneSettings

Returns: Promise‹void›


# pause

pause(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:480

Returns: void


# resume

resume(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:488

Returns: void


# Abstract sceneChanged

sceneChanged(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:86

Returns: void


# setCameraOffset

setCameraOffset(offset: CanvasOffset): void

Defined in packages/common-core/src/webgl/scene-manager.ts:614

Parameters:

Name Type
offset CanvasOffset

Returns: void


# setupScene

setupScene(offset?: CanvasOffset, transparent?: boolean): void

Defined in packages/common-core/src/webgl/scene-manager.ts:294

Parameters:

Name Type
offset? CanvasOffset
transparent? boolean

Returns: void


# showGUI

showGUI(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:409

Returns: void


# showStats

showStats(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:468

Returns: void


# updateCamera

updateCamera(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:298

Returns: void


# updateScene

updateScene(): void

Defined in packages/common-core/src/webgl/scene-manager.ts:593

Returns: void