Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
UIImageGroupAsset.cs
Go to the documentation of this file.
1 using System.Collections.Generic;
2 
3 using SiliconStudio.Assets;
4 using SiliconStudio.Assets.Compiler;
5 using SiliconStudio.Core;
6 
7 namespace SiliconStudio.Paradox.Assets.UIImage
8 {
9  /// <summary>
10  /// Describes a sprite group asset.
11  /// </summary>
12  [DataContract("UIImageGroup")]
13  [AssetFileExtension(FileExtension)]
14  [AssetCompiler(typeof(UIImageGroupCompiler))]
15  [AssetFactory(typeof(UIImageGroupFactory))]
16  [ThumbnailCompiler(PreviewerCompilerNames.UIImageGroupThumbnailCompilerQualifiedName)]
17  [AssetDescription("UI Image Group", "An UI Image group", true)]
18  public sealed class UIImageGroupAsset : ImageGroupAsset<UIImageInfo>
19  {
20  /// <summary>
21  /// The default file extension used by the <see cref="UIImageGroupAsset"/>.
22  /// </summary>
23  public const string FileExtension = ".pdxuiimage";
24 
25  private class UIImageGroupFactory : IAssetFactory
26  {
27  public Asset New()
28  {
29  return new UIImageGroupAsset();
30  }
31  }
32  }
33 }
Base class for Asset.
Definition: Asset.cs:14
Interface to create default instance of an asset type.
Definition: IAssetFactory.cs:8
Contains user-friendly names and descriptions of an asset type.
Describes an image group asset.