Table of Contents

Class AssetMigrationContext

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

Context used by IAssetUpgrader.

public class AssetMigrationContext
Inheritance
AssetMigrationContext

Constructors

AssetMigrationContext(Package?, IReference?, string, ILogger)

Initializes a new instance of AssetMigrationContext.

public AssetMigrationContext(Package? package, IReference? assetReference, string assetFullPath, ILogger log)

Parameters

package Package
assetReference IReference
assetFullPath string
log ILogger

Properties

AssetFullPath

public string AssetFullPath { get; }

Property Value

string

AssetReference

public IReference? AssetReference { get; }

Property Value

IReference

Log

The logger for this context.

public ILogger Log { get; }

Property Value

ILogger

Package

The current package where the current asset is being migrated. This is null when the asset being migrated is a package.

public Package? Package { get; }

Property Value

Package