在Forge查看器中更改Zoom时获取Zoom值
当相机靠近建筑物时,当相机放大时,我需要显示一些精灵,卸下精灵。
缩放更改时是否有任何事件触发?另外,我们如何获得当前的缩放值?
I need to show some Sprites when the camera gets close to a building and when the camera zoom out, remove the Sprites.
Is there any event that triggered when zoom changes? Also, How can we get the current zoom value?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当相机更改(包括Zoom)时,发生了一个事件:
在收到的事件中有一个Zoom属性。您还会找到很多信息
There is an event trigerred when Camera changes (included zoom) :
There is a zoom property in the event received. You will additionally find a lot of informations