DodecahedronGeometry
一个用于创建十二面几何体的类。
js
const geometry = new THREE.DodecahedronGeometry(
radius : Float,
detail : Integer
)参数:
- radius — 十二面体的半径,默认值为 1。
- detail — 默认值为 0。将这个值设为一个大于 0 的数将会为它增加一些顶点,使其不再是一个十二面体。
