API ReferenceGlobalsBakedShadowEnvironment

# Class: BakedShadowEnvironment

# Hierarchy

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new BakedShadowEnvironment(scene: Scene, oldEnvironment?: Environment): BakedShadowEnvironment

Overrides Environment.constructor

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:33

Parameters:

Name Type
scene Scene
oldEnvironment? Environment

Returns: BakedShadowEnvironment

# Methods

# addToScene

addToScene(): void

Overrides Environment.addToScene

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:142

Returns: void


# cleanUp

cleanUp(): void

Inherited from Environment.cleanUp

Defined in packages/common-core/src/environment/environment.ts:37

Returns: void


# needsBounds

needsBounds(): boolean

Overrides Environment.needsBounds

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:49

Returns: boolean


# needsCamera

needsCamera(): boolean

Overrides Environment.needsCamera

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:53

Returns: boolean


# needsRotation

needsRotation(): boolean

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:57

Returns: boolean


# reload

reload(): void

Inherited from Environment.reload

Defined in packages/common-core/src/environment/environment.ts:28

Returns: void


# removeFromScene

removeFromScene(): void

Overrides Environment.removeFromScene

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:150

Returns: void


# setLoadedCallback

setLoadedCallback(callback: function): void

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:100

Parameters:

callback: function

▸ (): void

Returns: void


# setPixotron

setPixotron(pixotron: Pixotron, renderer: WebGLRenderer, camera: Camera, params?: BakedShadowParams): void

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:61

Parameters:

Name Type
pixotron Pixotron
renderer WebGLRenderer
camera Camera
params? BakedShadowParams

Returns: void


# showGUI

showGUI(): void

Overrides Environment.showGUI

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:159

Returns: void


# update

update(): void

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:104

Returns: void


# updateBounds

updateBounds(bounds: Vector3, force?: boolean): boolean

Overrides Environment.updateBounds

Defined in packages/common-core/src/environment/baked-shadow-environment.ts:110

Parameters:

Name Type
bounds Vector3
force? boolean

Returns: boolean


# updateCamera

updateCamera(_camera: PerspectiveCamera): void

Inherited from Environment.updateCamera

Defined in packages/common-core/src/environment/environment.ts:18

Parameters:

Name Type
_camera PerspectiveCamera

Returns: void