Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    AssetTemplateGeneratorParameters Class

    Namespace: Stride.Core.Assets.Templates
    Assembly: Stride.Core.Assets.dll
    System.Object → TemplateGeneratorParameters → PackageTemplateGeneratorParameters → AssetTemplateGeneratorParameters
    Derived from AssetTemplateGeneratorParameters:

    public class AssetTemplateGeneratorParameters : PackageTemplateGeneratorParameters
    Name Description
    Constructors
    AssetTemplateGeneratorParameters(UDirectory, IEnumerable<UFile>)
    Properties
    RequestSessionSave

    Indicates whether the session has to be saved after the asset template generator has completed. The default is false.

    SourceFiles
    TargetLocation
    Methods
    ValidateParameters()
    | Improve this Doc View Source

    Constructors


    AssetTemplateGeneratorParameters(UDirectory, IEnumerable<UFile>)

    public AssetTemplateGeneratorParameters(UDirectory targetLocation, IEnumerable<UFile> sourceFiles = null)
    Parameters
    Type Name Description
    Stride.Core.IO.UDirectory targetLocation
    System.Collections.Generic.IEnumerable<Stride.Core.IO.UFile> sourceFiles
    | Improve this Doc View Source

    Properties


    RequestSessionSave

    Indicates whether the session has to be saved after the asset template generator has completed. The default is false.

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

    This is an out parameter that asset template generator should set if needed.


    SourceFiles

    public List<UFile> SourceFiles { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Stride.Core.IO.UFile>

    TargetLocation

    public UDirectory TargetLocation { get; }
    Property Value
    Type Description
    Stride.Core.IO.UDirectory
    | Improve this Doc View Source

    Methods


    ValidateParameters()

    protected override void ValidateParameters()
    Overrides
    PackageTemplateGeneratorParameters.ValidateParameters()

    Inherited Members

    PackageTemplateGeneratorParameters.Package
    TemplateGeneratorParameters.Name
    TemplateGeneratorParameters.Id
    TemplateGeneratorParameters.Namespace
    TemplateGeneratorParameters.OutputDirectory
    TemplateGeneratorParameters.Description
    TemplateGeneratorParameters.Unattended
    TemplateGeneratorParameters.Logger
    TemplateGeneratorParameters.Tags
    TemplateGeneratorParameters.Validate()
    TemplateGeneratorParameters.GetTag<T>(PropertyKey<T>)
    TemplateGeneratorParameters.TryGetTag<T>(PropertyKey<T>)
    TemplateGeneratorParameters.HasTag<T>(PropertyKey<T>)
    TemplateGeneratorParameters.SetTag<T>(PropertyKey<T>, T)

    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