Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    TemplateAssetDescription Class

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

    A template for creating assets.

    System.Object → TemplateDescription → TemplateAssetDescription
    Derived from TemplateAssetDescription: TemplateAssetFactoryDescription

    [DataContract("TemplateAsset")]
    public class TemplateAssetDescription : TemplateDescription, IFileSynchronizable
    Name Description
    Properties
    AssetTypeName
    ImportSource
    RequireName
    Methods
    GetAssetType()
    GetSupportedExtensions()
    | Improve this Doc View Source

    Properties


    AssetTypeName

    public string AssetTypeName { get; set; }
    Property Value
    Type Description
    System.String

    ImportSource

    public bool ImportSource { get; set; }
    Property Value
    Type Description
    System.Boolean

    RequireName

    public bool RequireName { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Methods


    GetAssetType()

    public Type GetAssetType()
    Returns
    Type Description
    System.Type

    GetSupportedExtensions()

    public FileExtensionCollection GetSupportedExtensions()
    Returns
    Type Description
    FileExtensionCollection

    Inherited Members

    TemplateDescription.FileExtension
    TemplateDescription.Id
    TemplateDescription.Name
    TemplateDescription.Scope
    TemplateDescription.Order
    TemplateDescription.Group
    TemplateDescription.Icon
    TemplateDescription.Screenshots
    TemplateDescription.Description
    TemplateDescription.FullDescription
    TemplateDescription.DefaultOutputName
    TemplateDescription.Status
    TemplateDescription.IsDirty
    TemplateDescription.FullPath
    TemplateDescription.TemplateDirectory

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation