OpenMetaverse.AppearanceManager.AddTextureDownload C# (CSharp) Méthode

AddTextureDownload() private méthode

Helper method to lookup the TextureID for a single layer and add it to a list if it is not already present
private AddTextureDownload ( AvatarTextureIndex index, List textures ) : void
index AvatarTextureIndex
textures List
Résultat void
        private void AddTextureDownload(AvatarTextureIndex index, List<UUID> textures)
        {
            TextureData textureData = Textures[(int)index];
            // Add the textureID to the list if this layer has a valid textureID set, it has not already
            // been downloaded, and it is not already in the download list
            if (textureData.TextureID != UUID.Zero && textureData.Texture == null && !textures.Contains(textureData.TextureID))
                textures.Add(textureData.TextureID);
        }