materialKey property

Object get materialKey

Equal for as long as its look stays the same.

Implementation

Object get materialKey => (
  material,
  color.toARGB32(),
  metallic,
  roughness,
  emission.toARGB32(),
  emissionStrength,
  opacity,
  unlit,
  texture,
  tiling.x,
  tiling.y,
  doubleSided,
);