Tanoda
TriLibCore.Samples.ExternalDataMapperSample Class Reference

Represents a class that finds external resources at the given model base path. More...

Inheritance diagram for TriLibCore.Samples.ExternalDataMapperSample:

Public Member Functions

override 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. More...
 

Detailed Description

Represents a class that finds external resources at the given model base path.

Definition at line 12 of file ExternalDataMapperSample.cs.

Member Function Documentation

◆ Map()

override Stream TriLibCore.Samples.ExternalDataMapperSample.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.

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.

Definition at line 24 of file ExternalDataMapperSample.cs.


The documentation for this class was generated from the following file: