Class: BlockInstance

BlockInstance(reporter, settings)

Block instance

Constructor

new BlockInstance(reporter, settings)

Parameters:
Name Type Description
reporter Reporter
settings Object
Properties
Name Type Attributes Description
id UUID <optional>
name string <optional>
block Block
Source:

Members

_exportLevel :ExportLevel

Type:
Source:

assignable :Boolean

Whether a block instance is assignable depends on the block settings
Type:
  • Boolean
Source:

assignableByDefinerId :Object.<UUID, Component>

Type:
Source:

assignedMaterials

Array
Source:

block :Block

Type:
Source:

materializable :Boolean

A block instance, like a block, does not have a material
Type:
  • Boolean
Source:

Methods

(protected) _setContent(part, quality, content) → {Promise.<Array.<any>>}

Set content and update status to "ready"
Parameters:
Name Type Description
part ComponentPart
quality LoadingQuality
content any
Source:
Returns:
Type
Promise.<Array.<any>>