MaterialHints class final
The parameters of one lit model a plugin brings, as a material panel shows them for a material that names it.
Keyed by model, the lighting model's stage name (acme_Velvet, or
acme.velvet): what a material file's shader names, the model's
shaderName.
Constructors
-
MaterialHints({required String model, List<
FieldHint> fields = const <FieldHint>[]}) -
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - As a document writes it.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → FieldHint? -
The hint for
key, or null.
Static Methods
-
fromJson(
Object? json) → MaterialHints -
What
jsonholds, as toJson writes it. Throws a DocumentFormatException for anything else.