Constructor
new WrappedMaterial(reporter, settings)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
reporter |
Reporter | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
settings |
Object |
Properties
|
Members
materialTypes :Object.<string, Object>
Type:
- Object.<string, Object>
Methods
(async) _build(part, quality) → {Promise.<WrappedMaterial>}
Build material
Parameters:
| Name | Type | Description |
|---|---|---|
part |
ComponentPart | |
quality |
LoadingQuality |
Returns:
- Type
- Promise.<WrappedMaterial>
getMaterialSets() → {Array.<MaterialSet>}
Returns:
- Type
- Array.<MaterialSet>