• listTextureInfoByMaterial(material: Material): TextureInfo[]
  • Lists all TextureInfo definitions associated with any Texture on the given Material. May be used to determine which UV transforms and texCoord indices are applied to the material, without explicitly checking the material properties and extensions.


    const results = listTextureInfoByMaterial(material);
    const texCoords = => info.getTexCoord());
    // → [0, 1]
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.