API ReferenceGlobalsMockEnvironmentLoader

# Class: MockEnvironmentLoader

# Hierarchy

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new MockEnvironmentLoader(creator: string): MockEnvironmentLoader

Inherited from EnvironmentLoader.constructor

Defined in packages/common-core/src/services/environment-loader.ts:27

Parameters:

Name Type
creator string

Returns: MockEnvironmentLoader

# Properties

# creator

creator: string

Implementation of Context.creator

Inherited from EnvironmentLoader.creator

Defined in packages/common-core/src/services/environment-loader.ts:9

# Methods

# getEnvironmentMap

getEnvironmentMap(): Texture

Overrides EnvironmentLoader.getEnvironmentMap

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

Returns: Texture


# registerEnvironmentChangedCallback

registerEnvironmentChangedCallback(callBack: any): void

Inherited from EnvironmentLoader.registerEnvironmentChangedCallback

Defined in packages/common-core/src/services/environment-loader.ts:76

Parameters:

Name Type
callBack any

Returns: void


# setEnvMap

setEnvMap(material: MeshStandardMaterial): void

Inherited from EnvironmentLoader.setEnvMap

Defined in packages/common-core/src/services/environment-loader.ts:89

Parameters:

Name Type
material MeshStandardMaterial

Returns: void


# setRendererAndScene

setRendererAndScene(renderer: WebGLRenderer, scene: Scene): void

Inherited from EnvironmentLoader.setRendererAndScene

Defined in packages/common-core/src/services/environment-loader.ts:71

Parameters:

Name Type
renderer WebGLRenderer
scene Scene

Returns: void


# Static setEnvironmentMap

setEnvironmentMap(material: MeshStandardMaterial, envMap: Texture): void

Inherited from EnvironmentLoader.setEnvironmentMap

Defined in packages/common-core/src/services/environment-loader.ts:20

Parameters:

Name Type
material MeshStandardMaterial
envMap Texture

Returns: void