IAssetFactory<T> Interface
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
An interface that represents an asset factory.
public interface IAssetFactory<out T>
where T : Asset
Type Parameters
| Name | Description |
|---|---|
| T | The type of asset this factory can create. |
| Name | Description | |
|---|---|---|
| Properties | ||
| AssetType | Retrieve the asset type associated to this factory. |
|
| Methods | ||
| New() | Creates a new instance of the asset type associated to this factory. |
|
Properties
AssetType
Retrieve the asset type associated to this factory.
Type AssetType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type | The asset type associated to this factory. |
Methods
New()
Creates a new instance of the asset type associated to this factory.
T New()
Returns
| Type | Description |
|---|---|
| T | A new instance of the asset type associated to this factory. |