Model Material Part
open class ModelMaterialPart(val featureStateId: String, val materialOverrides: List<String>) : ModelPart
Model material part can be applied with color or emission effect.
Parameters
feature State Id
the unique feature state id to drive the associated material part overrides in materialOverrides.
material Overrides
the associated material ids from the model that is overridable.
Constructors
Link copied to clipboard
Construct a simple ModelMaterialPart with only one material override, the material override will also be used as the feature state id for updating the material.
Link copied to clipboard
Functions
Link copied to clipboard
Reset the color to the default value.
Link copied to clipboard
Update color of the ModelMaterialPart.