Table of Contents

Class AssetTemplateGeneratorParameters

Namespace
Stride.Core.Assets.Templates
Assembly
Stride.Core.Assets.dll
public class AssetTemplateGeneratorParameters : PackageTemplateGeneratorParameters
Inheritance
AssetTemplateGeneratorParameters
Inherited Members

Constructors

AssetTemplateGeneratorParameters(UDirectory, IEnumerable<UFile>)

public AssetTemplateGeneratorParameters(UDirectory targetLocation, IEnumerable<UFile> sourceFiles = null)

Parameters

targetLocation UDirectory
sourceFiles IEnumerable<UFile>

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

bool

Remarks

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

SourceFiles

public List<UFile> SourceFiles { get; }

Property Value

List<UFile>

TargetLocation

public UDirectory TargetLocation { get; }

Property Value

UDirectory

Methods

ValidateParameters()

protected override void ValidateParameters()