RootPackageAssetEnumerator Class
Namespace: Stride.Core.Assets.CompilerAssembly: Stride.Core.Assets.dll
Only enumerates assets that are marked as roots and their dependencies.
System.Object →
RootPackageAssetEnumerator
Derived from RootPackageAssetEnumerator:
public class RootPackageAssetEnumerator : IPackageCompilerSource
Name | Description | |
---|---|---|
Constructors | ||
RootPackageAssetEnumerator(Package) | Initializes a new instance. |
|
Methods | ||
GetAssets(AssetCompilerResult) | Enumerates assets. |
Constructors
RootPackageAssetEnumerator(Package)
Initializes a new instance.
public RootPackageAssetEnumerator(Package package)
Parameters
Type | Name | Description |
---|---|---|
Package | package | The start package. |
Methods
GetAssets(AssetCompilerResult)
Enumerates assets.
public IEnumerable<AssetItem> GetAssets(AssetCompilerResult assetCompilerResult)
Parameters
Type | Name | Description |
---|---|---|
AssetCompilerResult | assetCompilerResult |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<AssetItem> |