示例
1 //创建几何体 2 var planeGeometry = new THREE.PlaneGeometry(60,20,1,1); 3 var planeMaterial = new THREE.MeshBasicMaterial({color:0xcccccc}); 4 var plane = new THREE.Mesh(planeGeometry,planeMaterial);
Posted qhdxqxx
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ThreeJS-几何体相关的知识,希望对你有一定的参考价值。
1 //创建几何体 2 var planeGeometry = new THREE.PlaneGeometry(60,20,1,1); 3 var planeMaterial = new THREE.MeshBasicMaterial({color:0xcccccc}); 4 var plane = new THREE.Mesh(planeGeometry,planeMaterial);
以上是关于ThreeJS-几何体的主要内容,如果未能解决你的问题,请参考以下文章