Class: Icosphere

og/shape/BaseShape~Icosphere

new Icosphere(options)

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

Extends

  • BaseShape

Members

protected_levelnumber

Icosphere recursion level.

protected_sizenumber

Icosphere radius.

Methods

abstract,protected_createData()

Create specific shape vertices data.