CLASSES
TagsA - Z

Cylinder

Description

class Cylinder extends _Primitive

Constructor

new Cylinder(id, scene, height, diameterTop, diameterBottom, tessellation, subdivisions, canBeRegenerated, mesh, side)

Parameters

Name Type Description
id string
scene Scene
height number
diameterTop number
diameterBottom number
tessellation number
optional subdivisions number
optional canBeRegenerated boolean
optional mesh Mesh

Members

height : number

diameterTop : number

diameterBottom : number

tessellation : number

subdivisions : number

side : number

Methods

copy(id) → Geometry

Parameters

Name Type Description
id string

serialize() → any

static Parse(parsedCylinder, scene) → ()

Parameters

Name Type Description
parsedCylinder any
scene Scene