Class ExportAssetContext
Exporting asset context structure
Inheritance
ExportAssetContext
Assembly: FlaxEngine.dll
File: Engine/ContentExporters/Types.h
Syntax
public class ExportAssetContext : public NonCopyable
Constructors
~ExportAssetContext()
ExportAssetContext(const String& inputPath, const String& outputPath, void* arg)
Initializes a new instance of the ExportAssetContext class.
Declaration
public ExportAssetContext(const String& inputPath, const String& outputPath, void* arg)
Parameters
String
inputPath
The input path. |
String
outputPath
The output path. |
void
arg
The custom argument. |
Fields
Asset
The asset reference (prepared by the context to be used by callback).
Declaration
public AssetReference<Asset> Asset
Field Value
AssetReference<Asset>
|
CustomArg
Custom argument for the importing function
Declaration
public void* CustomArg
Field Value
void
|
InputPath
OutputFilename
OutputFolder
Methods
Run(const ExportAssetFunction& callback)
Runs the specified callback.
Declaration
public ExportAssetResult Run(const ExportAssetFunction& callback)
Parameters
ExportAssetFunction
callback
The export asset callback. |
Returns
ExportAssetResult
Operation result. |