0

我只是想问一下当例如 Head 进入 Sensorview 时如何处理事件。我确实阅读了文档,但没有找到相应的方法。

4

1 回答 1

0

SDK 没有用于您的目的的事件发射器。您需要合并 Bodyframe 并检查是否有新的骨架到达。如果您需要任何参考,可以查看我的存储库,在那里我构建了更复杂的手势,例如单击和滑动手势。

https://github.com/shanilfernando/VRInteraction

特别关注的地方

https://github.com/shanilfernando/VRInteraction/blob/master/main.cpp#L187

https://github.com/shanilfernando/VRInteraction/blob/master/DepthBasics.cpp#L243

于 2017-07-11T06:23:51.287 回答