Table of Contents

Class AssetContentTypeAttribute

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

Describes which runtime-type, loadable through the ContentManager, corresponds to the associated asset type.

[AttributeUsage(AttributeTargets.Class)]
public class AssetContentTypeAttribute : Attribute
Inheritance
AssetContentTypeAttribute
Inherited Members

Constructors

AssetContentTypeAttribute(Type)

Initializes a new instance of the AssetContentTypeAttribute class.

public AssetContentTypeAttribute(Type contentType)

Parameters

contentType Type

The content type corresponding to the associated asset type.

Properties

ContentType

The content type corresponding to the associated asset type.

public Type ContentType { get; }

Property Value

Type