Table of Contents

Class PackageAnalysis

Namespace
Stride.Core.Assets.Analysis
Assembly
Stride.Core.Assets.dll

An analysis to check the validity of a Package, convert Stride.Core.IO.UFile or Stride.Core.IO.UDirectory references to absolute/relative paths, check asset references...etc, change IReference location if location changed.

public sealed class PackageAnalysis
Inheritance
PackageAnalysis

Constructors

PackageAnalysis(Package, PackageAnalysisParameters)

public PackageAnalysis(Package package, PackageAnalysisParameters parameters = null)

Parameters

package Package
parameters PackageAnalysisParameters

Properties

Parameters

Gets the parameters used for this analysis.

public PackageAnalysisParameters Parameters { get; }

Property Value

PackageAnalysisParameters

The parameters.

Methods

CheckDependencies()

Checks the package.

public LoggerResult CheckDependencies()

Returns

LoggerResult

LoggerResult.

ProcessAssets()

public LoggerResult ProcessAssets()

Returns

LoggerResult

ProcessPackageUPaths()

Processes the UPaths on package (but not on assets, use ProcessAssets() for this)

public void ProcessPackageUPaths()

Run()

Runs a full analysis on this package.

public LoggerResult Run()

Returns

LoggerResult

LoggerResult.

Run(ILogger)

Runs a full analysis on this package.

public void Run(ILogger log)

Parameters

log ILogger

The log.