Table of Contents

Class PackageSessionExtensions

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

Extension methods for PackageSession.

public static class PackageSessionExtensions
Inheritance
PackageSessionExtensions

Methods

AddAssetToCompilePackage(PackageSession, AssetItem, Package)

public static void AddAssetToCompilePackage(this PackageSession session, AssetItem originalAssetItem, Package assetPackageCloned)

Parameters

session PackageSession
originalAssetItem AssetItem
assetPackageCloned Package

CreateCompilePackageFromAsset(PackageSession, AssetItem)

Create a Package that can be used to compile an AssetItem by analyzing and resolving its dependencies.

public static Package CreateCompilePackageFromAsset(this PackageSession session, AssetItem originalAssetItem)

Parameters

session PackageSession
originalAssetItem AssetItem

Returns

Package

The package packageSession that can be used to compile the asset item.