ModelMaterialOverride class
Overrides a material of a 3D model. @see The online documentation
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- modelColor ↔ int?
-
Override the tint color of the material.
getter/setter pair
- modelColorMixIntensity ↔ double?
-
Override the intensity of model-color (on a scale from 0 to 1) in color mix with original 3D model's colors.
getter/setter pair
- modelEmissiveStrength ↔ double?
-
Override strength of the emission of material.
The unit of modelEmissiveStrength is in intensity.
getter/setter pair
- modelOpacity ↔ double?
-
Override the opacity of the material.
getter/setter pair
- name ↔ String
-
The material name to override.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> - Converts this ModelMaterialOverride to its JSON representation, keyed by name.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String name, Map< String, dynamic> json) → ModelMaterialOverride - Creates a ModelMaterialOverride from its name and a decoded JSON object.