metallicRoughnessTexture property
Texture?
get
metallicRoughnessTexture
The combined metallic-roughness texture (B = metallic, G = roughness). Defaults to white when null.
Accepts a gpu.Texture or a RenderTexture (sampled live).
Implementation
gpu.Texture? get metallicRoughnessTexture =>
resolveTextureSource(_metallicRoughnessSource);
set
metallicRoughnessTexture
(Object? value)
Implementation
set metallicRoughnessTexture(Object? value) => _metallicRoughnessSource =
checkTextureSource(value, 'metallicRoughnessTexture');