LevelsTextureNode class final

A mask remapped between blackPoint and whitePoint, then gamma.

Inheritance

Constructors

LevelsTextureNode({required int id, int? source, double blackPoint = 0.0, double whitePoint = 1.0, double gamma = 1.0})
const

Properties

blackPoint → double
final
gamma → double
final
hashCode → int
The hash code for this object.
no setterinherited
hints → Map<String, MaterialHint>
A control for every field a panel would show, keyed by field name — the same shape builtInMaterialHints already answers for SurfaceMaterial, reused rather than duplicated in a new hierarchy of its own.
no setteroverride
id → int
Stable within one TextureGraph, the way ModelObject.id is stable within one ModelProject — an input names the node it reads by this, not by a position in TextureGraph.nodes that a reorder would move.
finalinherited
inputs → Map<String, TextureInputSocket>
This node's own input sockets, by name: the type a link into it must match, and the node id currently wired there, or null for nothing yet. A node with no inputs — ImageTextureNode, ColorTextureNode, CheckerTextureNode, NoiseTextureNode — answers the empty map.
no setteroverride
kind → String
The word this kind writes to toJson and is read back by in TextureNode.fromJson's own switch.
no setteroverride
outputType → TextureValueType
What a link out of this node promises whatever it feeds.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → int?
final
whitePoint → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
This node's own fields, as JSON — everything but id and kind, which TextureGraph.toJson writes once, the same way, for every node.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited