Preparing search index...
The search index is not available
@niuee/board
@niuee/board
CameraObserver
Class CameraObserver
Index
Constructors
constructor
Methods
clear
Callbacks
notify
Position
Change
notify
Rotation
Change
notify
Zoom
Change
on
on
All
Update
Constructors
constructor
new
CameraObserver
()
:
CameraObserver
Returns
CameraObserver
Methods
clear
Callbacks
clearCallbacks
()
:
void
Returns
void
notify
Position
Change
notifyPositionChange
(
delta
:
Point
,
cameraState
:
CameraState
)
:
Promise
<
void
>
Parameters
delta
:
Point
cameraState
:
CameraState
Returns
Promise
<
void
>
notify
Rotation
Change
notifyRotationChange
(
deltaRotation
:
number
,
cameraState
:
CameraState
,
)
:
Promise
<
void
>
Parameters
deltaRotation
:
number
cameraState
:
CameraState
Returns
Promise
<
void
>
notify
Zoom
Change
notifyZoomChange
(
deltaZoomAmount
:
number
,
cameraState
:
CameraState
,
)
:
Promise
<
void
>
Parameters
deltaZoomAmount
:
number
cameraState
:
CameraState
Returns
Promise
<
void
>
on
on
<
K
extends
keyof
CameraEventMap
>
(
eventName
:
K
,
callback
:
(
event
:
CameraEventMap
[
K
]
,
cameraState
:
CameraState
)
=>
void
,
)
:
UnSubscribe
Type Parameters
K
extends
keyof
CameraEventMap
Parameters
eventName
:
K
callback
:
(
event
:
CameraEventMap
[
K
]
,
cameraState
:
CameraState
)
=>
void
Returns
UnSubscribe
on
All
Update
onAllUpdate
(
callback
:
ConslidateCallback
)
:
UnSubscribe
Parameters
callback
:
ConslidateCallback
Returns
UnSubscribe
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
clear
Callbacks
notify
Position
Change
notify
Rotation
Change
notify
Zoom
Change
on
on
All
Update
@niuee/board
Loading...