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 Nullable<Mesh>

Members

size : number

side : number

Methods

copy(id) Geometry

Parameters

Name Type Description
id string

serialize() any

static Parse(parsedBox, scene) Nullable<Box>

Parameters

Name Type Description
parsedBox any
scene Scene