baseColorTexture property
Texture?
get
baseColorTexture
The albedo (base color) texture, sampled in linear space and multiplied by baseColorFactor. Defaults to white when null.
Accepts a gpu.Texture or a RenderTexture (sampled live); the
getter resolves to the texture sampled this frame.
Implementation
gpu.Texture? get baseColorTexture => resolveTextureSource(_baseColorSource);
set
baseColorTexture
(Object? value)
Implementation
set baseColorTexture(Object? value) =>
_baseColorSource = checkTextureSource(value, 'baseColorTexture');