emissiveTexture property

TextureSource? get emissiveTexture

Optional emissive texture. Defaults to white when null and is gated by emissiveFactor.

Accepts a Texture2D or a RenderTexture (sampled live).

Implementation

TextureSource? get emissiveTexture => _emissiveTexture;
set emissiveTexture (TextureSource? value)

Implementation

set emissiveTexture(TextureSource? value) {
  if (identical(_emissiveTexture, value)) return;
  _emissiveTexture = value;
  _markMaterialDataDirty();
}