API ReferenceGlobalsPluginSystem

# Class: PluginSystem

# Hierarchy

  • PluginSystem

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new PluginSystem(creator: string): PluginSystem

Defined in packages/configurator-core/src/webgl/plugin-system.ts:71

Parameters:

Name Type
creator string

Returns: PluginSystem

# Properties

# creator

creator: string

_Implementation of Context.creator_

Defined in packages/configurator-core/src/webgl/plugin-system.ts:62

# Methods

# addPlugin

addPlugin(plugin: ScenePlugin): void

Defined in packages/configurator-core/src/webgl/plugin-system.ts:93

Parameters:

Name Type
plugin ScenePlugin

Returns: void


# clearScene

clearScene(scene: Scene, uiScene: Scene): void

Implementation of ScenePluginHooks

Defined in packages/configurator-core/src/webgl/plugin-system.ts:106

Parameters:

Name Type
scene Scene
uiScene Scene

Returns: void


# getActivePlugins

getActivePlugins(): ScenePlugin[]

Defined in packages/configurator-core/src/webgl/plugin-system.ts:110

Returns: ScenePlugin[]


# getPlugin

getPlugin<T>(type: any): T

Defined in packages/configurator-core/src/webgl/plugin-system.ts:114

Type parameters:

T: ScenePlugin

Parameters:

Name Type
type any

Returns: T


# init

init(scene: Scene, uiScene: Scene, cameraPosition: Vector3): Promise‹void›

Defined in packages/configurator-core/src/webgl/plugin-system.ts:77

Parameters:

Name Type
scene Scene
uiScene Scene
cameraPosition Vector3

Returns: Promise‹void›


# moveCameraEnd

moveCameraEnd(position: Vector3): void

Implementation of ScenePluginHooks

Defined in packages/configurator-core/src/webgl/plugin-system.ts:123

Parameters:

Name Type
position Vector3

Returns: void


# moveCameraStart

moveCameraStart(position: Vector3): void

Implementation of ScenePluginHooks

Defined in packages/configurator-core/src/webgl/plugin-system.ts:128

Parameters:

Name Type
position Vector3

Returns: void


# needsUiScene

needsUiScene(): boolean

Implementation of ScenePluginHooks

Defined in packages/configurator-core/src/webgl/plugin-system.ts:133

Returns: boolean


# updateBounds

updateBounds(bounds: Box3): void

Implementation of ScenePluginHooks

Defined in packages/configurator-core/src/webgl/plugin-system.ts:101

Parameters:

Name Type
bounds Box3

Returns: void