RoomleGlbViewer.Internal.default-3
glb-viewer-core/src/roomle-glb-viewer.internal.default
Hierarchy
↳
default
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new default(creator
, inputManager
, initialCameraPosition?
, camera?
)
Parameters
Name | Type |
---|---|
|
|
| |
|
|
|
Inherited from
Properties
_creator_
• _creator_: string
Inherited from
maxAzimuthAngle
• maxAzimuthAngle: number
= Number.POSITIVE_INFINITY
Inherited from
maxDistance
• maxDistance: number
= 5
Inherited from
maxPolarAngle
• maxPolarAngle: number
Inherited from
minAzimuthAngle
• minAzimuthAngle: number
= Number.NEGATIVE_INFINITY
Inherited from
minDistance
• minDistance: number
= 0
Inherited from
minPolarAngle
• minPolarAngle: number
Inherited from
shouldIgnoreStandardBehavior
• shouldIgnoreStandardBehavior: boolean
= false
Accessors
domHelper
• get
domHelper(): default
Returns
Inherited from
CameraControl3D.domHelper
Methods
addEventListener
▸ addEventListener(eventName
, callback
, scope
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
void
Inherited from
addLightContainer
▸ addLightContainer(container
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
adjust
▸ adjust(bounds
, position
, yaw
, pitch
, _fov
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
Returns
void
adjustToBoundsWithoutChangingDistance
▸ adjustToBoundsWithoutChangingDistance(boundingBox
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
default.adjustToBoundsWithoutChangingDistance
animateCamera
▸ animateCamera(delta
): boolean
Parameters
Name | Type |
---|---|
|
|
Returns
boolean
Overrides
checkBoundsAndPlaceCamera
▸ checkBoundsAndPlaceCamera(boundingBox
, reset?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
void
Inherited from
default.checkBoundsAndPlaceCamera
checkNearFarDistance
▸ checkNearFarDistance(point
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
cleanUp
▸ cleanUp(): void
Returns
void
Inherited from
clear
▸ clear(): void
Returns
void
Inherited from
disableEvents
▸ disableEvents(): void
Returns
void
Inherited from
disablePanning
▸ disablePanning(): void
Returns
void
Inherited from
dispatchEvent
▸ dispatchEvent(eventName
, arg?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
enableEvents
▸ enableEvents(): void
Returns
void
Inherited from
enablePanning
▸ enablePanning(): void
Returns
void
Inherited from
getCamera
▸ getCamera(): PerspectiveOffsetCamera
Returns
Inherited from
getCurrentCameraParameters
▸ getCurrentCameraParameters(): CameraParameter
Returns
Inherited from
default.getCurrentCameraParameters
getInputPosition
▸ getInputPosition(position
): Vector3
Parameters
Name | Type |
---|---|
|
Returns
Vector3
Inherited from
getKernelZoomFactor
▸ getKernelZoomFactor(): number
Returns
number
Inherited from
getObjectRotation
▸ getObjectRotation(): number
Returns
number
Inherited from
getTargetPosition
▸ getTargetPosition(): Vector3
Returns
Vector3
Inherited from
hasSavedState
▸ hasSavedState(): boolean
Returns
boolean
Inherited from
isLocked
▸ isLocked(): boolean
Returns
boolean
Inherited from
lock
▸ lock(): void
Returns
void
Inherited from
moveCamera
▸ moveCamera(cameraParameter
): Promise
<void
>
Move camera based on provided camera parameters
Uses center when target is not set
Uses ideal distance when no distance is provided
For other properties it used current camera parameters if not provided
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
Inherited from
removeEventListener
▸ removeEventListener(eventName
, fun
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
reset
▸ reset(bounds
, target?
, yaw?
, pitch?
, animate?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
void
Inherited from
resetToState
▸ resetToState(): void
Returns
void
Inherited from
saveState
▸ saveState(override
): CameraParameter
Parameters
Name | Type |
---|---|
|
|
Returns
Inherited from
setBounds
▸ setBounds(boundingBox
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
setObjectRotation
▸ setObjectRotation(objectRotation
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
setToState
▸ setToState(start
, state
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
Inherited from
unlock
▸ unlock(): void
Returns
void
Inherited from
updateAndReset
▸ updateAndReset(boundingBox
, animate?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
void
Inherited from
updateCamera
▸ updateCamera(): void
Returns
void
Inherited from
updateToBounds
▸ updateToBounds(boundingBox
, isPreview
, changeCamera?
, target?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
void
Inherited from
zoomIn
▸ zoomIn(value?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
zoomOut
▸ zoomOut(value?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
zoomTo
▸ zoomTo(cameraParameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
Inherited from
zoomToFitBounds
▸ zoomToFitBounds(boundingBox
, reset?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
void
Inherited from
Last updated