CLASSES
TagsA - Z

Sphere

Description

class Sphere extends _Primitive

Constructor

new Sphere(id, scene, segments, diameter, canBeRegenerated, mesh, side)

Parameters

Name Type Description
id string
scene Scene
segments number
diameter number
optional canBeRegenerated boolean
optional mesh Mesh

Members

segments : number

diameter : number

side : number

Methods

copy(id) → Geometry

Parameters

Name Type Description
id string

serialize() → any

static Parse(parsedSphere, scene) → ()

Parameters

Name Type Description
parsedSphere any
scene Scene