TriLib 2.2.8
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TriLibCore.Mappers.ExternalDataMapper Class Referenceabstract

Represents a Mapper that finds external data sources using the source data filename. More...

Inheritance diagram for TriLibCore.Mappers.ExternalDataMapper:
TriLibCore.Mappers.ZipFileExternalDataMapper

Public Member Functions

abstract Stream Map (AssetLoaderContext assetLoaderContext, string originalFilename, out string finalPath)
 Tries to find the given external data source using the original resource filename and the context parameters.
 

Detailed Description

Represents a Mapper that finds external data sources using the source data filename.

Member Function Documentation

◆ Map()

abstract Stream TriLibCore.Mappers.ExternalDataMapper.Map ( AssetLoaderContext  assetLoaderContext,
string  originalFilename,
out string  finalPath 
)
pure virtual

Tries to find the given external data source using the original resource filename and the context parameters.

Parameters
assetLoaderContextThe Asset Loader Context reference. Asset Loader Context contains the Model loading data.
originalFilenameThe source data original filename.
finalPathThe found data final Path.
Returns
The external data source Stream, if found. Otherwise null.

Implemented in TriLibCore.Mappers.ZipFileExternalDataMapper.