PolyhedronBufferGeometry

二十面缓冲几何体(IcosahedronBufferGeometry)

一个用于生成二十面体的类。

构造函数

IcosahedronBufferGeometry(radius : Float, detail : Integer)

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

属性

共有属性请参见其基类PolyhedronBufferGeometry

.parameters : Object

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

方法(Methods)

共有方法请参见其基类PolyhedronBufferGeometry

源代码

src/geometries/IcosahedronBufferGeometry.js