listTextureSlots

  • listTextureSlots(texture: Texture): string[]
  • Returns names of all texture slots using the given texture.

    Example:

    const slots = listTextureSlots(texture);
    // → ['occlusionTexture', 'metallicRoughnesTexture']
    
Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.