网站首页
编程语言
数据库
系统相关
其他分享
编程问答
EdgesGeometry
2024-10-20
89. 模型边界线EdgesGeometry
借助EdgesGeometry可以给模型设置一个模型边界线。长方体边线先用EdgesGeometry重新计算长方体几何体,返回一个新的几何体,然后用线模型LineSegments模型渲染新的几何体即可。constgeometry=newTHREE.BoxGeometry(50,50,50);constmaterial=newTHREE.MeshLambertM