IcosahedronGeometry
一个用于生成二十面体的类。
js
const geometry = new THREE.IcosahedronGeometry(
radius : Float,
detail : Integer
)参数:
- radius — 二十面体的半径,默认为 1。
- detail — 默认值为 0。将这个值设为一个大于 0 的数将会为它增加一些顶点,使其不再是一个二十面体。当这个值大于 1 的时候,实际上它将变成一个球体。
