ModelMaterialPart

fun ModelMaterialPart(materialOverride: String)

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.

Parameters

materialOverride

the associated material id from the model that is overridable.


fun ModelMaterialPart(featureStateId: String, materialOverrides: List<String>)

Parameters

featureStateId

the unique feature state id to drive the associated material part overrides in materialOverrides.

materialOverrides

the associated material ids from the model that is overridable.