AssetTemplateGeneratorParameters Class
Namespace: Stride.Core.Assets.TemplatesAssembly: 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  | |
| SourceFiles | ||
| TargetLocation | ||
| Methods | ||
| ValidateParameters() | ||
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 | 
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 | 
Methods
ValidateParameters()
protected override void ValidateParameters()