一、有关球体SphereGeometry构造函数参数说明
SphereGeometry(radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength)
radius — sphere radius. Default is 50. 球体半径 默认值 50
widthSegments — number of horizontal segments. Minimum value is 3, and the default is 8. 水平分段数
heightSegments — number of vertical segments. Minimum value is 2, and the default is 6. 垂直分段数
phiStart — specify horizontal starting angle. Default is 0. 水平围绕中心水平角度
phiLength — specify horizontal sweep angle size. Default is Math.PI * 2. 水平围绕周长 一周
thetaStart — specify vertical starting angle. Default is 0. 垂直围绕中心水平角度
thetaLength — specify vertical sweep angle size. Default is Math.PI. 垂直围绕周长 一周
二.请点击下图体验【改变SphereGeometry球体参数与可视化图形】很直观展示
关于Three.js基本几何形状的更多学习
解释几个英文单词 CubeGeometry几何体/PlaneGeometry面板--平面/SphereGeometry球体/CircleGeometry圆形或扇形
CylinderGeometry圆柱体--圆台/TorusGeometry 圆环/TorusKnotGeometry圆环节
http://www.ituring.com.cn/article/50172 讲解three.js中各种几何体
本文详细介绍了Three.js中SphereGeometry构造函数的参数含义及作用,包括球体半径、水平分段数、垂直分段数等,并提供了直观的可视化展示。


2786

被折叠的 条评论
为什么被折叠?



