Lists all TextureInfo definitions associated with a given
Texture. May be used to determine which UV transforms
and texCoord indices are applied to the material, without explicitly
checking the material properties and extensions.
Example:
// Find TextureInfo instances associated with the texture.const results = listTextureInfo(texture);
// Find which UV sets (TEXCOORD_0, TEXCOORD_1, ...) are required.const texCoords = results.map((info) => info.getTexCoord());
// → [0, 1]
Lists all TextureInfo definitions associated with a given Texture. May be used to determine which UV transforms and texCoord indices are applied to the material, without explicitly checking the material properties and extensions.
Example:
// Find TextureInfo instances associated with the texture. const results = listTextureInfo(texture); // Find which UV sets (TEXCOORD_0, TEXCOORD_1, ...) are required. const texCoords = results.map((info) => info.getTexCoord()); // → [0, 1]