Constructor
new Block(reporter, settings)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
reporter |
Reporter | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
settings |
Object |
Properties
|
- Source:
Members
connectors :Array.<Connector>
Type:
- Array.<Connector>
- Source:
distinctMeshes :Array.<WrappedMesh>
All (wrapped) meshes that are (indirectly) referenced in this block
Type:
- Array.<WrappedMesh>
- Source:
distinctMeshesPerMVG :Object.<UUID, Array.<PositionedMesh>>
Type:
- Object.<UUID, Array.<PositionedMesh>>
- Source:
distinctMVGs :Array.<MaterialSet>
Material variant groups that are referenced by at least one of
the meshes in this block
Type:
- Array.<MaterialSet>
- Source:
distinctPositionedMeshes :Array.<PositionedMesh>
All positioned meshes that are (directly and indirectly) referenced in this block
Type:
- Array.<PositionedMesh>
- Source:
subAssignables :Array.<SubAssignable>
The assignables this block offers, includes the block itself if it is assignable
Type:
- Array.<SubAssignable>
- Source:
Methods
(async) _build(part, quality, dependencies) → {Promise.<Block>}
Build
Parameters:
| Name | Type | Description |
|---|---|---|
part |
ComponentPart | |
quality |
LoadingQuality | |
dependencies |
Object.<string, Component> |
- Source:
Returns:
- Type
- Promise.<Block>