metallicRoughnessTexture property
TextureSource?
get
metallicRoughnessTexture
The combined metallic-roughness texture (B = metallic, G = roughness). Defaults to white when null.
Accepts a Texture2D or a RenderTexture (sampled live).
Implementation
TextureSource? get metallicRoughnessTexture => _metallicRoughnessTexture;
set
metallicRoughnessTexture
(TextureSource? value)
Implementation
set metallicRoughnessTexture(TextureSource? value) {
if (identical(_metallicRoughnessTexture, value)) return;
_metallicRoughnessTexture = value;
_markMaterialDataDirty();
}