KeyboardControl

new Cesium.KeyboardControl(options)

键盘控制器
Name Type Description
options Object optional 对象具有如下属性:
Name Type Default Description
viewer Object optional 场景对象
forward String 'w' optional 向前移动
backforward String 's' optional 向后移动
left String 'a' optional 向左移动
right String 'd' optional 向右移动
up String 'q' optional 向上移动
down String 'e' optional 向下移动
underground String 'u' optional 地上下模式切换,默认为地上模式

Methods

激活键盘控制
创建键盘事件
取消键盘控制
退出键盘事件
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.