Table of Contents

Class TemplateAssetDescription

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

A template for creating assets.

[DataContract("TemplateAsset")]
public class TemplateAssetDescription : TemplateDescription, IFileSynchronizable
Inheritance
object
TemplateAssetDescription
Implements
Derived
Inherited Members
Extension Methods

Properties

AssetTypeName

public string AssetTypeName { get; set; }

Property Value

string

ImportSource

public bool ImportSource { get; set; }

Property Value

bool

RequireName

public bool RequireName { get; set; }

Property Value

bool

Methods

FindAssetType()

The asset type of this template, or null when no registered type has that name: the package declaring the template is in the session, but the assembly defining its asset type is not loaded.

public Type? FindAssetType()

Returns

Type

GetAssetType()

public Type GetAssetType()

Returns

Type

GetSupportedExtensions()

public FileExtensionCollection GetSupportedExtensions()

Returns

FileExtensionCollection