API Reference › Globals › BananaForScale
# Class: BananaForScale
# Hierarchy
ScenePluginDefaultImplementation
↳ BananaForScale
# Implements
# Index
# Constructors
# Properties
# Methods
- addToScene
- clearScene
- moveCameraEnd
- moveCameraStart
- needsUiScene
- removeFromScene
- setScene
- setUiScene
- updateBounds
# Constructors
# constructor
+ new BananaForScale(creator
: string): BananaForScale
Inherited from BananaForScale.constructor
Defined in packages/configurator-core/src/webgl/plugin-system.ts:25
Parameters:
Name | Type |
---|---|
creator | string |
Returns: BananaForScale
# Properties
# creator
• creator: string
_Implementation of ScenePlugin.creator_
_Inherited from BananaForScale.creator_
Defined in packages/configurator-core/src/webgl/plugin-system.ts:25
# Methods
# addToScene
▸ addToScene(): void
Defined in packages/configurator-core/src/webgl/banana-for-scale.ts:59
Returns: void
# clearScene
▸ clearScene(scene
: Scene, uiScene
: Scene): void
Implementation of ScenePlugin
Overrides ScenePluginDefaultImplementation.clearScene
Defined in packages/configurator-core/src/webgl/banana-for-scale.ts:53
Parameters:
Name | Type |
---|---|
scene | Scene |
uiScene | Scene |
Returns: void
# moveCameraEnd
▸ moveCameraEnd(position
: Vector3): void
Implementation of ScenePlugin
Inherited from BananaForScale.moveCameraEnd
Defined in packages/configurator-core/src/webgl/plugin-system.ts:47
Parameters:
Name | Type |
---|---|
position | Vector3 |
Returns: void
# moveCameraStart
▸ moveCameraStart(position
: Vector3): void
Implementation of ScenePlugin
Inherited from BananaForScale.moveCameraStart
Defined in packages/configurator-core/src/webgl/plugin-system.ts:51
Parameters:
Name | Type |
---|---|
position | Vector3 |
Returns: void
# needsUiScene
▸ needsUiScene(): boolean
Implementation of ScenePlugin
Inherited from BananaForScale.needsUiScene
Defined in packages/configurator-core/src/webgl/plugin-system.ts:55
Returns: boolean
# removeFromScene
▸ removeFromScene(): void
Defined in packages/configurator-core/src/webgl/banana-for-scale.ts:66
Returns: void
# setScene
▸ setScene(scene
: Scene): void
Implementation of ScenePlugin
Overrides ScenePluginDefaultImplementation.setScene
Defined in packages/configurator-core/src/webgl/banana-for-scale.ts:16
Parameters:
Name | Type |
---|---|
scene | Scene |
Returns: void
# setUiScene
▸ setUiScene(uiScene
: Scene): void
Implementation of ScenePlugin
Inherited from BananaForScale.setUiScene
Defined in packages/configurator-core/src/webgl/plugin-system.ts:35
Parameters:
Name | Type |
---|---|
uiScene | Scene |
Returns: void
# updateBounds
▸ updateBounds(bounds
: Box3): void
Implementation of ScenePlugin
Overrides ScenePluginDefaultImplementation.updateBounds
Defined in packages/configurator-core/src/webgl/banana-for-scale.ts:29
Parameters:
Name | Type |
---|---|
bounds | Box3 |
Returns: void