Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
AssetDescription.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Assets
4 {
5  /// <summary>
6  /// Contains user-friendly names and descriptions of an asset type.
7  /// </summary>
8  public class AssetDescription
9  {
10  /// <summary>
11  /// Gets the display name of the asset
12  /// </summary>
13  public string DisplayName { get; private set; }
14 
15  /// <summary>
16  /// Gets a description of the asset.
17  /// </summary>
18  public string Description { get; private set; }
19 
20  /// <summary>
21  /// Gets whether the thumbnails of the asset type are dynamic and should be regenerated each time a property changes.
22  /// </summary>
23  public bool DynamicThumbnails { get; private set; }
24 
25  /// <summary>
26  /// Initializes a new instance of the <see cref="AssetDescription"/> class.
27  /// </summary>
28  /// <param name="displayName">A user-friendly name describing the asset type.</param>
29  /// <param name="description">A sentence describing the purpose of the asset type.</param>
30  /// <param name="dynamicThumbnails"></param>
31  public AssetDescription(string displayName, string description, bool dynamicThumbnails)
32  {
33  DisplayName = displayName;
34  Description = description;
35  DynamicThumbnails = dynamicThumbnails;
36  }
37  }
38 }
AssetDescription(string displayName, string description, bool dynamicThumbnails)
Initializes a new instance of the AssetDescription class.
Contains user-friendly names and descriptions of an asset type.