Preparing search index...
The search index is not available
VGE-Earth SDK 中文文档 - v2024.04.16
VGE-Earth SDK 中文文档
Core/EventMana
ViewerEvent
Class ViewerEvent
名称:【视图】 监听事件 描述:监听视图的 创建、移除、切换
最后修改日期:2021-10-29
Hierarchy (
view full
)
BaseEvent
ViewerEvent
Index
Constructors
constructor
Properties
listen
Callbacks
Methods
add
Event
Listener
raise
Event
remove
Event
Listener
Constructors
constructor
new
Viewer
Event
(
)
:
ViewerEvent
Returns
ViewerEvent
Properties
listen
Callbacks
listen
Callbacks
:
ListenItem
[]
监听的回调函数集合
Methods
add
Event
Listener
add
Event
Listener
(
listenType
,
scope
,
callback
)
:
boolean
添加事件
Parameters
listenType
:
addData
|
ViewerEventType
|
ScreenSpaceEventType
|
CameraEventType
|
DataEventType
事件触发类型
scope
:
ScopeType
事件触发范围
callback
:
Function
事件回调
Returns
boolean
raise
Event
raise
Event
(
listenType
,
scope
,
funcParam
)
:
void
触发事件
Parameters
listenType
:
number
事件触发类型
scope
:
ScopeType
触发范围
funcParam
:
any
Returns
void
remove
Event
Listener
remove
Event
Listener
(
callback
)
:
boolean
移除事件
Parameters
callback
:
Function
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
listen
Callbacks
add
Event
Listener
raise
Event
remove
Event
Listener
VGE-Earth SDK 中文文档 - v2024.04.16
Loading...
名称:【视图】 监听事件 描述:监听视图的 创建、移除、切换
最后修改日期:2021-10-29