PolyhedronBufferGeometry

八面缓冲几何体(OctahedronBufferGeometry)

一个用于创建八面体的类。

构造函数

OctahedronBufferGeometry(radius : Float, detail : Integer)

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

属性

共有属性请参见其基类PolyhedronBufferGeometry

.parameters : Object

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

方法(Methods)

共有方法请参见其基类PolyhedronBufferGeometry

源代码

src/geometries/OctahedronBufferGeometry.js