Class: Icosphere

og/shape/BaseShape~Icosphere

new Icosphere(options)

Name Type Description
options Object Icosphere parameters:
Name Type Description
position og.Vec3 optional Icosphere position.
orientation og.Quat optional Icosphere orientation(rotation).
scale og.Vec3 optional Scale vector.
color Array.<number, number, number, number> optional Icosphere RGBA color.
src string optional Texture image url source.
visibility boolean optional Icosphere visibility.
size number optional Icosphere radius.
level number optional Icosphere complexity level.

Extends

  • og.shape.BaseShape

Members

protected_levelnumber

Icosphere recursion level.

protected_sizenumber

Icosphere radius.

Methods

abstract,protected_createData()

Create specific shape vertices data.