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
creator
string
inputManager
initialCameraPosition?
Vector3
camera?
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
eventName
number
callback
scope
any
Returns
void
Inherited from
addLightContainer
▸ addLightContainer(container
): void
Parameters
container
Object3D
<Object3DEventMap
>
Returns
void
Inherited from
adjust
▸ adjust(bounds
, position
, yaw
, pitch
, _fov
): void
Parameters
bounds
Vector3
position
Vector3
yaw
number
pitch
number
_fov
number
Returns
void
adjustToBoundsWithoutChangingDistance
▸ adjustToBoundsWithoutChangingDistance(boundingBox
): void
Parameters
boundingBox
Box3
Returns
void
Inherited from
default.adjustToBoundsWithoutChangingDistance
animateCamera
▸ animateCamera(delta
): boolean
Parameters
delta
number
Returns
boolean
Overrides
checkBoundsAndPlaceCamera
▸ checkBoundsAndPlaceCamera(boundingBox
, reset?
): void
Parameters
boundingBox
Box3
undefined
reset
boolean
true
Returns
void
Inherited from
default.checkBoundsAndPlaceCamera
checkNearFarDistance
▸ checkNearFarDistance(point
): void
Parameters
point
Vector3
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
eventName
number
arg?
any
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
position
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
cameraParameter
Returns
Promise
<void
>
Inherited from
removeEventListener
▸ removeEventListener(eventName
, fun
): void
Parameters
eventName
number
fun
Returns
void
Inherited from
reset
▸ reset(bounds
, target?
, yaw?
, pitch?
, animate?
): void
Parameters
bounds
Box3
undefined
target?
Vector3
undefined
yaw?
number
undefined
pitch?
number
undefined
animate
boolean
true
Returns
void
Inherited from
resetToState
▸ resetToState(): void
Returns
void
Inherited from
saveState
▸ saveState(override
): CameraParameter
Parameters
override
boolean
Returns
Inherited from
setBounds
▸ setBounds(boundingBox
): void
Parameters
boundingBox
Box3
Returns
void
Inherited from
setObjectRotation
▸ setObjectRotation(objectRotation
): void
Parameters
objectRotation
number
Returns
void
Inherited from
setToState
▸ setToState(start
, state
): void
Parameters
start
state
Returns
void
Inherited from
unlock
▸ unlock(): void
Returns
void
Inherited from
updateAndReset
▸ updateAndReset(boundingBox
, animate?
): void
Parameters
boundingBox
Box3
undefined
animate
boolean
true
Returns
void
Inherited from
updateCamera
▸ updateCamera(): void
Returns
void
Inherited from
updateToBounds
▸ updateToBounds(boundingBox
, isPreview
, changeCamera?
, target?
): void
Parameters
boundingBox
Box3
undefined
isPreview
boolean
undefined
changeCamera
boolean
true
target?
Vector3
undefined
Returns
void
Inherited from
zoomIn
▸ zoomIn(value?
): void
Parameters
value?
number
Returns
void
Inherited from
zoomOut
▸ zoomOut(value?
): void
Parameters
value?
number
Returns
void
Inherited from
zoomTo
▸ zoomTo(cameraParameters
): Promise
<void
>
Parameters
cameraParameters
Returns
Promise
<void
>
Inherited from
zoomToFitBounds
▸ zoomToFitBounds(boundingBox
, reset?
): void
Parameters
boundingBox
Box3
undefined
reset
boolean
true
Returns
void
Inherited from
Last updated