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 |
Nullable<Mesh> |
|
Members
segments : number
diameter : number
side : number
Methods
Parameters
|
Name |
Type |
Description |
|
id |
string |
|
serialize() → any
static Parse(parsedSphere, scene) → Nullable<undefined>
Parameters
|
Name |
Type |
Description |
|
parsedSphere |
any |
|
|
scene |
Scene |
|