RoomleConfigurator.Internal.default-48
configurator-core/src/roomle-configurator.internal.default
Hierarchy
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new default(creator
, inputManager
, initialCameraPosition?
, camera?
)
Parameters
Name | Type |
---|---|
|
|
| |
|
|
|
Overrides
Properties
_creator_
• _creator_: string
Inherited from
maxAzimuthAngle
• maxAzimuthAngle: number
= Number.POSITIVE_INFINITY
maxDistance
• maxDistance: number
= 5
maxPolarAngle
• maxPolarAngle: number
minAzimuthAngle
• minAzimuthAngle: number
= Number.NEGATIVE_INFINITY
minDistance
• minDistance: number
= 0
minPolarAngle
• minPolarAngle: number
Accessors
domHelper
• get
domHelper(): default
Returns
Inherited from
CameraControl.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
adjustToBoundsWithoutChangingDistance
▸ adjustToBoundsWithoutChangingDistance(boundingBox
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
animateCamera
▸ animateCamera(delta
): boolean
Parameters
Name | Type |
---|---|
|
|
Returns
boolean
Overrides
checkBoundsAndPlaceCamera
▸ checkBoundsAndPlaceCamera(boundingBox
, reset?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
void
checkNearFarDistance
▸ checkNearFarDistance(point
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
cleanUp
▸ cleanUp(): void
Returns
void
Inherited from
clear
▸ clear(): void
Returns
void
disableEvents
▸ disableEvents(): void
Returns
void
Inherited from
disablePanning
▸ disablePanning(): void
Returns
void
dispatchEvent
▸ dispatchEvent(eventName
, arg?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
enableEvents
▸ enableEvents(): void
Returns
void
Inherited from
enablePanning
▸ enablePanning(): void
Returns
void
getCamera
▸ getCamera(): PerspectiveOffsetCamera
Returns
Overrides
getCurrentCameraParameters
▸ getCurrentCameraParameters(): CameraParameter
Returns
Inherited from
default.getCurrentCameraParameters
getInputPosition
▸ getInputPosition(position
): Vector3
Parameters
Name | Type |
---|---|
|
Returns
Vector3
Inherited from
getKernelZoomFactor
▸ getKernelZoomFactor(): number
Returns
number
Overrides
getObjectRotation
▸ getObjectRotation(): number
Returns
number
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
>
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
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
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
updateCamera
▸ updateCamera(): void
Returns
void
Overrides
updateToBounds
▸ updateToBounds(boundingBox
, isPreview
, changeCamera?
, target?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
void
zoomIn
▸ zoomIn(value?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
zoomOut
▸ zoomOut(value?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
zoomTo
▸ zoomTo(cameraParameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
zoomToFitBounds
▸ zoomToFitBounds(boundingBox
, reset?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
void
Last updated