Table of Contents

Class AssetDescriptionAttribute

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll

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 string

The 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

bool

AlwaysMarkAsRoot

Always mark this asset type as root.

public bool AlwaysMarkAsRoot { get; set; }

Property Value

bool

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; }

Property Value

bool