MaterialOverride class
A persistent per-entity PBR override applied independently of selection. Null fields are left untouched; successive calls on the same name merge. Selection wins visually while active; deselect restores the override.
Constructors
Properties
-
color
→ List<
double> ? -
RGBA 0.0..1.0. Tints the GLB base color map, does not replace it.
final
-
emissive
→ List<
double> ? -
RGB 0.0..1.0. Values above 1.0 allowed for HDR glow.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metallic → double?
-
0.0..1.0.
final
- name → String
-
Entity node name in the glTF/GLB.
final
- roughness → double?
-
0.0..1.0.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited