Using Threejs + OrbitContols in TypeScript

前端 未结 14 1472
清歌不尽
清歌不尽 2021-02-07 11:59

I\'m not able to get this example of using the aforementioned combo going in TypeScript.

I have and <

14条回答
  •  不要未来只要你来
    2021-02-07 12:31

    While previous answers may work out to some degree, you should go with the ready made definition files from DefinitelyTyped. They also define OrbitControl's properties and methods.

提交回复
热议问题