Run a Function When Cameras Position Changes (react-three-fiber)

前端 未结 0 698
旧巷少年郎
旧巷少年郎 2020-12-02 08:29

what is the best way to run a function when the position of the camera changes using in a Canvas?

I tried:

  1. Adding an "onChange" in the prop

相关标签:
回答
  • 消灭零回复
提交回复
热议问题