PolyhedronBufferGeometry

十二面缓冲几何体(DodecahedronBufferGeometry)

一个用于创建十二面几何体的类。

构造函数

DodecahedronBufferGeometry(radius : Float, detail : Integer)

radius — 十二面体的半径,默认值为1。
detail — 默认值为0。将这个值设为一个大于0的数将会为它增加一些顶点,使其不再是一个十二面体。

属性

共有属性请参见其基类PolyhedronBufferGeometry

.parameters : Object

一个包含着构造函数中每个参数的对象。在对象实例化之后,对该属性的任何修改都不会改变这个几何体。

方法(Methods)

共有方法请参见其基类PolyhedronBufferGeometry

源代码

src/geometries/DodecahedronBufferGeometry.js