本文主要是介绍Uncaught TypeError: renderer.setClearColorHex is not a function,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
你需要先确定你的three.js的版本有没有引入错误,
three.js第二版中使用的是setClearColorHex,新版本中使用setClearColor。
这篇关于Uncaught TypeError: renderer.setClearColorHex is not a function的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!