emissiveTexture property

Texture? get emissiveTexture

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

Accepts a gpu.Texture or a RenderTexture (sampled live).

Implementation

gpu.Texture? get emissiveTexture => resolveTextureSource(_emissiveSource);
set emissiveTexture (Object? value)

Implementation

set emissiveTexture(Object? value) =>
    _emissiveSource = checkTextureSource(value, 'emissiveTexture');