MaterialOverride constructor
MaterialOverride({})
Implementation
MaterialOverride({
required this.name,
this.color,
this.metallic,
this.roughness,
this.emissive,
}) : assert(color == null || color.length == 4,
'color must be RGBA with 4 components'),
assert(emissive == null || emissive.length == 3,
'emissive must be RGB with 3 components');