vue-three 几何体类型

// 锥形
this.geometry = new THREE.CylinderGeometry(0, 2, 3, 3, 2, false)

//长方体 参数:长,宽,高
this.geometry = new THREE.BoxGeometry(100, 100, 100);

// 球体 参数:半径60  经纬度细分数40,40
this.geometry = new THREE.SphereGeometry(60, 40, 40);

// 圆柱  参数:圆柱面顶部、底部直径50,50   高度100  圆周分段数
this.geometry = new THREE.CylinderGeometry( 50, 50, 100, 25 );

// 正八面体
this.geometry = new THREE.OctahedronGeometry(50);

// 正十二面体
this.geometry = new THREE.DodecahedronGeometry(50);

// 正二十面体
this.geometry = new THREE.IcosahedronGeometry(50);
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容