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

GetTextureDownloadList() private méthode

Get a list of all of the textures that need to be downloaded for a single bake layer
private GetTextureDownloadList ( BakeType bakeType ) : List
bakeType BakeType Bake layer to get texture AssetIDs for
Résultat List
        private List<UUID> GetTextureDownloadList(BakeType bakeType)
        {
            List<AvatarTextureIndex> indices = BakeTypeToTextures(bakeType);
            List<UUID> textures = new List<UUID>();

            for (int i = 0; i < indices.Count; i++)
            {
                AvatarTextureIndex index = indices[i];

                if (index == AvatarTextureIndex.Skirt && !Wearables.ContainsKey(WearableType.Skirt))
                    continue;

                AddTextureDownload(index, textures);
            }

            return textures;
        }