planner-core/src/roomle-planner.
# Hierarchy
-
↳
default
# Table of contents
# Constructors
# Properties
# Accessors
# Methods
- addEventListener
- addLightContainer
- animateCamera
- checkNearFarDistance
- cleanUp
- disableEvents
- dispatchEvent
- enableEvents
- getCamera
- getCurrentCameraParameters
- getInputPosition
- getKernelZoomFactor
- getTargetPosition
- hasSavedState
- isLocked
- lock
- removeEventListener
- resetToState
- saveState
- setBounds
- setToState
- unlock
- updateCamera
- zoomToFitBounds
# Constructors
# constructor
• new default(creator
, inputManager
, initialCameraPosition?
, camera?
)
# Parameters
Name | Type |
---|---|
creator | string |
inputManager | default |
initialCameraPosition? | Vector3 |
camera? | OrthographicOffsetCamera |
# Overrides
# Properties
# _creator_
• _creator_: string
# Inherited from
# Accessors
# domHelper
• get
domHelper(): default
# Returns
# Inherited from
CameraControl.domHelper
# Methods
# addEventListener
▸ addEventListener(eventName
, callback
, scope
): void
# Parameters
Name | Type |
---|---|
eventName | number |
callback | ListenerFunction <any > |
scope | any |
# Returns
void
# Inherited from
# addLightContainer
▸ addLightContainer(container
): void
# Parameters
Name | Type |
---|---|
container | Object3D <Object3DEventMap > |
# Returns
void
# Inherited from
# animateCamera
▸ animateCamera(delta
): boolean
# Parameters
Name | Type |
---|---|
delta | number |
# Returns
boolean
# Overrides
# checkNearFarDistance
▸ checkNearFarDistance(point
): void
# Parameters
Name | Type |
---|---|
point | Vector3 |
# Returns
void
# Inherited from
# cleanUp
▸ cleanUp(): void
# Returns
void
# Inherited from
# disableEvents
▸ disableEvents(): void
# Returns
void
# Inherited from
# dispatchEvent
▸ dispatchEvent(eventName
, arg?
): void
# Parameters
Name | Type |
---|---|
eventName | number |
arg? | any |
# Returns
void
# Inherited from
# enableEvents
▸ enableEvents(): void
# Returns
void
# Inherited from
# getCamera
▸ getCamera(): PerspectiveOrOrthographicCamera
# Returns
PerspectiveOrOrthographicCamera
# Inherited from
# getCurrentCameraParameters
▸ getCurrentCameraParameters(): CameraParameter
# Returns
# Inherited from
default.getCurrentCameraParameters
# getInputPosition
▸ getInputPosition(position
): Vector3
# Parameters
Name | Type |
---|---|
position | Position2 |
# Returns
Vector3
# Inherited from
# getKernelZoomFactor
▸ getKernelZoomFactor(): number
# Returns
number
# Overrides
# 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
# removeEventListener
▸ removeEventListener(eventName
, fun
): void
# Parameters
Name | Type |
---|---|
eventName | number |
fun | ListenerFunction <any > |
# Returns
void
# Inherited from
# resetToState
▸ resetToState(): void
# Returns
void
# Inherited from
# saveState
▸ saveState(override
): CameraParameter
# Parameters
Name | Type |
---|---|
override | boolean |
# Returns
# Inherited from
# setBounds
▸ setBounds(boundingBox
): void
# Parameters
Name | Type |
---|---|
boundingBox | Box3 |
# Returns
void
# Inherited from
# setToState
▸ setToState(start
, state
): void
# Parameters
Name | Type |
---|---|
start | CameraParameter |
state | CameraParameter |
# Returns
void
# Inherited from
# unlock
▸ unlock(): void
# Returns
void
# Inherited from
# updateCamera
▸ updateCamera(): void
# Returns
void
# Overrides
# zoomToFitBounds
▸ zoomToFitBounds(bounds
, zoomInAllowed
, force?
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
zoomInAllowed | boolean |
force? | boolean |
# Returns
void