阅读 185

cesium中的四种拾取pick

cesium中的四种拾取pick

cesium中有好多种物体拾取,在这里记录一下,方便查阅。

1、viewer.scene.pick(windowPosition);

  官网介绍:

Returns an  with a `primitive` property that contains the first (top) primitive  the scene at a particular window coordinate or undefined  nothing  at the location. 
Other properties may potentially be  depending on the type of primitive and may be used to further identify the picked  picked, pick returns a Cesium3DTileFeature .
返回scene中指定位置的顶端的primitive属性的的一个对象。
适用于选取3D tiles,改变3Dtiles的属性,比如颜色等。


文章分类
后端
文章标签
版权声明:本站是系统测试站点,无实际运营。本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 XXXXXXo@163.com 举报,一经查实,本站将立刻删除。
相关推荐