C# Class Protogame.ModelAssetLoader

The model asset loader.
Inheritance: IAssetLoader
ファイルを表示 Open project: RedpointGames/Protogame

Public Methods

Method Description
CanHandle ( IRawAsset data ) : bool

The can handle.

CanNew ( ) : bool

The can new.

GetDefault ( IAssetManager assetManager, string name ) : IAsset

The get default.

GetNew ( IAssetManager assetManager, string name ) : IAsset

The get new.

Handle ( IAssetManager assetManager, string name, IRawAsset data ) : IAsset

The handle.

ModelAssetLoader ( IModelSerializer modelSerializer, IAssetContentManager assetContentManager )

Initializes a new instance of the ModelAssetLoader class.

Method Details

CanHandle() public method

The can handle.
public CanHandle ( IRawAsset data ) : bool
data IRawAsset /// The data. ///
return bool

CanNew() public method

The can new.
public CanNew ( ) : bool
return bool

GetDefault() public method

The get default.
public GetDefault ( IAssetManager assetManager, string name ) : IAsset
assetManager IAssetManager /// The asset manager. ///
name string /// The name. ///
return IAsset

GetNew() public method

The get new.
public GetNew ( IAssetManager assetManager, string name ) : IAsset
assetManager IAssetManager /// The asset manager. ///
name string /// The name. ///
return IAsset

Handle() public method

The handle.
public Handle ( IAssetManager assetManager, string name, IRawAsset data ) : IAsset
assetManager IAssetManager /// The asset manager. ///
name string /// The name. ///
data IRawAsset /// The data. ///
return IAsset

ModelAssetLoader() public method

Initializes a new instance of the ModelAssetLoader class.
public ModelAssetLoader ( IModelSerializer modelSerializer, IAssetContentManager assetContentManager )
modelSerializer IModelSerializer /// The model serializer service. ///
assetContentManager IAssetContentManager /// The asset content manager. ///