CLASSES
TagsA - Z

Box

Description

class Box extends _Primitive

Constructor

new Box(id, scene, size, canBeRegenerated, mesh, side)

Parameters

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

Members

size : number

side : number

Methods

copy(id) Geometry

Parameters

Name Type Description
id string

serialize() any

static Parse(parsedBox, scene) Box

Parameters

Name Type Description
parsedBox any
scene Scene