MaterialResource class
Material resources are base texture e.g. cotton, plastic.
Signature:
declare class MaterialResource extends AbstractTexturedResource<MaterialResourceOptions, MaterialResourceSources> implements AssignableInterface<TexturedResourceInterfaceTOptions<MaterialResourceOptions>, TexturedResourceInterfaceTSources<MaterialResourceSources>>, TexturedResourceInterface<MaterialResourceOptions, MaterialResourceSources> 
Extends: AbstractTexturedResource<MaterialResourceOptions, MaterialResourceSources>
Implements: AssignableInterface<TexturedResourceInterfaceTOptions<MaterialResourceOptions>, TexturedResourceInterfaceTSources<MaterialResourceSources>>, TexturedResourceInterface<MaterialResourceOptions, MaterialResourceSources>
Remarks
You'd want to use a material resource when you want a base material applied to a node. For example, a blue cotton applied to an entire t-shirt, or a white ceramic applied to a mug.
Methods
| 
 Method  | 
 Modifiers  | 
 Description  | 
|---|---|---|
| 
 Convenience method for setting colors.  |