Table of Contents

Class DefaultAssetFactory<T>

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

An implementation of the AssetFactory<T> class that uses the default public parameterless constructor of the associated asset type.

public class DefaultAssetFactory<T> : AssetFactory<T>, IAssetFactory<T> where T : Asset

Type Parameters

T

The type of asset this factory can create.

Inheritance
DefaultAssetFactory<T>
Implements
Inherited Members

Methods

Create()

public static T Create()

Returns

T

New()

Creates a new instance of the asset type associated to this factory.

public override T New()

Returns

T

A new instance of the asset type associated to this factory.