RoomleGlbViewer.Internal.default
glb-viewer-core/src/roomle-glb-viewer.internal.default
Hierarchy
↳
default
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new default(creator
, offset
)
Parameters
Name | Type |
---|---|
|
|
|
Overrides
SceneManager.constructor
Properties
_creator_
• _creator_: string
Inherited from
Methods
addEventListener
▸ addEventListener(_listener
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Inherited from
adjustCamera
▸ adjustCamera(position
, yaw
, pitch
, fov
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
void
cameraBehaviourChanged
▸ cameraBehaviourChanged(): void
Returns
void
Overrides
default.cameraBehaviourChanged
changeEnvironmentMapIntensity
▸ changeEnvironmentMapIntensity(intensity
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
default.changeEnvironmentMapIntensity
cleanUp
▸ cleanUp(): void
Returns
void
Inherited from
clearScene
▸ clearScene(): void
Returns
void
Overrides
destroy
▸ destroy(): void
Returns
void
Inherited from
enableHD
▸ enableHD(): void
Returns
void
Overrides
exportImageFromCamera
▸ exportImageFromCamera(filename
, shouldWaitForAssets?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
Promise
<void
>
Inherited from
getBounds
▸ getBounds(): Box3
Returns
Box3
Overrides
getCameraOffset
▸ getCameraOffset(): CanvasOffset
Returns
Inherited from
getGeometryBounds
▸ getGeometryBounds(): Box3
Returns
Box3
Overrides
getOrthographicOffsetCamera
▸ getOrthographicOffsetCamera(): OrthographicOffsetCamera
Returns
Inherited from
default.getOrthographicOffsetCamera
getScene
▸ getScene(): Scene
Returns
Scene
Inherited from
handleEvent
▸ handleEvent(evt
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
loadDynamicLightSetting
▸ loadDynamicLightSetting(source
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
Inherited from
default.loadDynamicLightSetting
loadEnvMap
▸ loadEnvMap(url
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
Inherited from
loadGLB
▸ loadGLB(url
, automaticallyAdjustCamera?
, scaling?
, callback?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
| ( |
|
Returns
Promise
<void
>
loadSceneSettings
▸ loadSceneSettings(sceneSetting
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
Inherited from
loadStaticItem
▸ loadStaticItem(id
, callback?
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
| ( |
Returns
Promise
<void
>
lockCamera
▸ lockCamera(): void
Returns
void
Inherited from
onElementFinished
▸ onElementFinished(itemsFinished
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Implementation of
GLBRenderWorkerListener.onElementFinished
onFinished
▸ onFinished(_zip
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Implementation of
GLBRenderWorkerListener.onFinished
onStart
▸ onStart(count
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Implementation of
GLBRenderWorkerListener.onStart
pause
▸ pause(): void
Returns
void
Inherited from
preparePerspectiveImage
▸ preparePerspectiveImage(renderer?
, width?
, height?
): Promise
<Base64Image
>
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
Promise
<Base64Image
>
removeEventListener
▸ removeEventListener(_listener
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Inherited from
resume
▸ resume(): void
Returns
void
Inherited from
sceneChanged
▸ sceneChanged(): void
Returns
void
Overrides
setBackgroundColor
▸ setBackgroundColor(hex
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
setBackgroundImage
▸ setBackgroundImage(url
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
setCameraOffset
▸ setCameraOffset(offset
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Inherited from
setEnvironmentMap
▸ setEnvironmentMap(url?
, intensity?
, rotation?
, maxLightSources?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
void
Inherited from
showGUI
▸ showGUI(): void
Returns
void
Inherited from
showStats
▸ showStats(): void
Returns
void
Inherited from
unlockCamera
▸ unlockCamera(): void
Returns
void
Inherited from
updateCamera
▸ updateCamera(_changeCamera?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
Returns
void
Inherited from
updateScene
▸ updateScene(): void
Returns
void
Inherited from
Last updated