Search Results for

    Show / Hide Table of Contents

    Class ExportAssetContext

    Exporting asset context structure

    Inheritance
    NonCopyable
    ExportAssetContext
    Inherited Members
    NonCopyable::NonCopyable()
    NonCopyable::NonCopyable(const NonCopyable& )
    NonCopyable::operator=(const NonCopyable& )
    Assembly: FlaxEngine.dll
    File: Engine/ContentExporters/Types.h
    Syntax
    public class ExportAssetContext : public NonCopyable

    Constructors

    ~ExportAssetContext()

    Finalizes an instance of the ExportAssetContext class.

    Declaration
    public ~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

    Path of the input file

    Declaration
    public String InputPath
    Field Value
    String

    OutputFilename

    Recommended output filename

    Declaration
    public String OutputFilename
    Field Value
    String

    OutputFolder

    Output file directory

    Declaration
    public String OutputFolder
    Field Value
    String

    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.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat