Constructor
new BlockInstance(reporter, settings)
Parameters:
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
reporter |
Reporter | |||||||||||||||||
settings |
Object |
Properties
|
- 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>>