Table of Contents

Class ImportStreamCommand

Namespace
Stride.Core.Assets.Compiler
Assembly
Stride.Core.Assets.dll
public sealed class ImportStreamCommand : SingleFileImportCommand
Inheritance
Command
IndexFileCommand
SingleFileImportCommand
ImportStreamCommand
Inherited Members
SingleFileImportCommand.SourcePath
SingleFileImportCommand.Location
SingleFileImportCommand.GetInputFiles()
IndexFileCommand.PreCommand(ICommandContext)
IndexFileCommand.PostCommand(ICommandContext, ResultStatus)
Command.OutputLocation
Command.CancellationToken
Command.DoCommand(ICommandContext)
Command.Clone()
Command.InputFilesGetter
Command.ShouldForceExecution()
Command.ShouldSpawnNewProcess()
Command.Cancel()

Constructors

ImportStreamCommand()

public ImportStreamCommand()

ImportStreamCommand(UFile, UFile)

public ImportStreamCommand(UFile location, UFile sourcePath)

Parameters

location UFile
sourcePath UFile

Properties

DisableCompression

public bool DisableCompression { get; set; }

Property Value

bool

SaveSourcePath

public bool SaveSourcePath { get; set; }

Property Value

bool

Title

Title (short description) of the command

public override string Title { get; }

Property Value

string

Methods

DoCommandOverride(ICommandContext)

The method to override containing the actual command code. It is called by the Stride.Core.BuildEngine.Command.DoCommand(Stride.Core.BuildEngine.ICommandContext) function

protected override Task<ResultStatus> DoCommandOverride(ICommandContext commandContext)

Parameters

commandContext ICommandContext

Returns

Task<ResultStatus>

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.