AssetCompiledArgs Class
Namespace: Stride.Core.Assets.CompilerAssembly: Stride.Core.Assets.dll
The class represents the argument of the AssetCompiled event raised by the ItemListCompiler class.
System.Object → System.EventArgs →
AssetCompiledArgs
Derived from AssetCompiledArgs:
public class AssetCompiledArgs : EventArgs
| Name | Description | |
|---|---|---|
| Constructors | ||
| AssetCompiledArgs(AssetItem, AssetCompilerResult) | Constructs an AssetCompiledArgs instance. |
|
| Properties | ||
| Asset | The asset item that has just been compiled. |
|
| Result | The result of the asset compilation. |
|
Constructors
AssetCompiledArgs(AssetItem, AssetCompilerResult)
Constructs an AssetCompiledArgs instance.
public AssetCompiledArgs(AssetItem asset, AssetCompilerResult result)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetItem | asset | The asset that has been compiled. Cannot be null. |
| AssetCompilerResult | result | The result of the asset compilation. Cannot be null. |
Properties
Asset
The asset item that has just been compiled.
public AssetItem Asset { get; set; }
Property Value
| Type | Description |
|---|---|
| AssetItem |
Result
The result of the asset compilation.
public AssetCompilerResult Result { get; set; }
Property Value
| Type | Description |
|---|---|
| AssetCompilerResult |
Inherited Members
System.EventArgs.Empty