Class AssetDescriptionAttribute
Associates meta-information to a particular Asset.
[AttributeUsage(AttributeTargets.Class)]
public class AssetDescriptionAttribute : Attribute
- Inheritance
-
AssetDescriptionAttribute
- Inherited Members
Constructors
AssetDescriptionAttribute(string)
Initializes a new instance of the AssetDescriptionAttribute class.
public AssetDescriptionAttribute(string fileExtensions)
Parameters
fileExtensions
stringThe file extensions supported by a type of asset.
Properties
AllowArchetype
Gets whether this asset can be an archetype.
public bool AllowArchetype { get; set; }
Property Value
AlwaysMarkAsRoot
Always mark this asset type as root.
public bool AlwaysMarkAsRoot { get; set; }
Property Value
FileExtensions
Gets the file extensions supported by a type of asset.
public string FileExtensions { get; }
Property Value
- string
The extension.
Referenceable
Defines if an asset is referenceable through an AssetReference. Asset name collision is allowed in this case because they exist only at compile-time.
public bool Referenceable { get; set; }