Skip to content

material.standard#metallicRoughnessTexture

Summary

material.standard#metallicRoughnessTexture gets or sets the borrowed metallic-roughness texture. Replacing the value or destroying the material does not destroy the texture.

Syntax

StandardMaterial.metallicRoughnessTexture: Texture2D | null
material.metallicRoughnessTexture = value;
const value = material.metallicRoughnessTexture;

Returns

Texture2D | null - Borrowed metallic-roughness texture, or null when none is assigned.

See Also