MaterialHintKind class sealed
What a control for one value should look like.
A description for a person, never a rule for the reader. A hint saying
range 0..1 does not make readFmat refuse a roughness of 1.5: the number
in the file is what the shader receives either way, and a reader that
clamped it would be changing what the engine draws in order to tidy up an
editor's slider. Every golden picture in this repository was rendered with
the numbers the files actually carry, and a hint is not allowed to move
them. So this hierarchy answers one question — how should somebody be shown
this value — and nothing else.
Sealed, so a switch over the kinds in an inspector is exhaustive and the
day a sixth kind arrives the compiler names every place that has to grow.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited