baseColorTexture property

TextureSource? get baseColorTexture

The albedo (base color) texture, sampled in linear space and multiplied by baseColorFactor. Defaults to white when null.

Accepts a Texture2D or a RenderTexture (sampled live).

Implementation

TextureSource? get baseColorTexture => _baseColorTexture;
set baseColorTexture (TextureSource? value)

Implementation

set baseColorTexture(TextureSource? value) {
  if (identical(_baseColorTexture, value)) return;
  _baseColorTexture = value;
  _markMaterialDataDirty();
}