code: public int getTextureUVIndex(AiTextureType type, int index) {
          checkTexRange(type, index);
          
          return getTyped(PropertyKey.TEX_UV_INDEX, type, index, Integer.class);
      }
docs: Returns the index of the UV coordinate set used by the texture.<p>
  
  If missing, defaults to 0
  
  @param type the texture type
  @param index the index in the texture stack
  @return the UV index
  @throws IndexOutOfBoundsException if index is invalid