ViewerGISEvent

Glodon.Bimface.Viewer. ViewerGISEvent

new Glodon.Bimface.Viewer.ViewerGISEvent()

GIS事件定义

Members

Name Type Description
CameraPositionChanged String

相机位置变化事件,返回当前相机类型,position,target,up等信息

ComponentsHoverChanged String

选中构件变化事件

ComponentsHoverChanged String

鼠标悬停构件事件(前提:在模型工具条的设置页面勾选鼠标悬停或者调用viewerGIS.enableHover(true);)

ContextMenu String

鼠标右键点击事件

EarthAnimationCompleted String

场景Ready事件,若开启地球自转动画,则自转结束后触发,否则创建场景后直接触发

Error String

出现错误事件

ModelAdded String

模型加载完毕事件

ModelRemoved String

模型移除完毕事件

MouseClicked String

鼠标点击事件

MouseClickedWithoutMap String

鼠标点击事件(不含地图)

MouseDoubleClicked String

鼠标双击构件事件

MouseDraged String

鼠标拖动事件

MouseHover String

鼠标Hover事件

MouseMove String

鼠标移动事件,返回鼠标拾取模型对象信息,若未拾取到模型对象,返回参考平面上拾取的坐标点信息

Rendered String

渲染完毕事件

SceneAdded String

场景加载完毕事件

SceneLoading String

场景加载事件

SelectionChanged String

构件选中状态变化