API ReferenceGlobalsEnvironment

# Class: Environment

# Hierarchy

# Index

# Constructors

# Methods

# Constructors

# constructor

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

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

Parameters:

Name Type
scene Scene
oldEnvironment? Environment

Returns: Environment

# Methods

# Abstract addToScene

addToScene(): void

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

Returns: void


# cleanUp

cleanUp(): void

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

Returns: void


# Abstract needsBounds

needsBounds(): boolean

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

Returns: boolean


# Abstract needsCamera

needsCamera(): boolean

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

Returns: boolean


# reload

reload(): void

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

Returns: void


# Abstract removeFromScene

removeFromScene(): void

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

Returns: void


# Abstract showGUI

showGUI(): void

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

Returns: void


# updateBounds

updateBounds(bounds: Vector3, _force?: boolean): void

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

Parameters:

Name Type
bounds Vector3
_force? boolean

Returns: void


# updateCamera

updateCamera(_camera: PerspectiveCamera): void

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

Parameters:

Name Type
_camera PerspectiveCamera

Returns: void