C# 클래스 Protogame.ModelAssetLoader

The model asset loader.
상속: IAssetLoader
파일 보기 프로젝트 열기: RedpointGames/Protogame

공개 메소드들

메소드 설명
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.

메소드 상세

CanHandle() 공개 메소드

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

CanNew() 공개 메소드

The can new.
public CanNew ( ) : bool
리턴 bool

GetDefault() 공개 메소드

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

GetNew() 공개 메소드

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

Handle() 공개 메소드

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

ModelAssetLoader() 공개 메소드

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. ///