PackageSessionExtensions Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Extension methods for PackageSession.
System.Object →
PackageSessionExtensions
Derived from PackageSessionExtensions:
public static class PackageSessionExtensions
Name | Description | |
---|---|---|
Methods | ||
AddAssetToCompilePackage(PackageSession, AssetItem, Package) | ||
CreateCompilePackageFromAsset(PackageSession, AssetItem) | Create a Package that can be used to compile an AssetItem by analyzing and resolving its dependencies. |
Methods
AddAssetToCompilePackage(PackageSession, AssetItem, Package)
public static void AddAssetToCompilePackage(this PackageSession session, AssetItem originalAssetItem, Package assetPackageCloned)
Parameters
Type | Name | Description |
---|---|---|
PackageSession | session | |
AssetItem | originalAssetItem | |
Package | assetPackageCloned |
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
Type | Name | Description |
---|---|---|
PackageSession | session | |
AssetItem | originalAssetItem |
Returns
Type | Description |
---|---|
Package | The package packageSession that can be used to compile the asset item. |