Search Results for

    Show / Hide Table of Contents

    Class ImportModel

    Importing models utility

    Inheritance
    ImportModel
    Inherited Members
    ImportModel
    Assembly: FlaxEngine.dll
    File: Engine/ContentImporters/ImportModel.h
    Syntax
    public class ImportModel

    Methods

    Create(CreateAssetContext& context)

    Creates the model asset from the ModelData storage (input argument should be pointer to ModelData).

    Declaration
    public static CreateAssetResult Create(CreateAssetContext& context)
    Parameters
    CreateAssetContext context

    The importing context.

    Returns
    CreateAssetResult

    Result.

    Import(CreateAssetContext& context)

    Imports the model file.

    Declaration
    public static CreateAssetResult Import(CreateAssetContext& context)
    Parameters
    CreateAssetContext context

    The importing context.

    Returns
    CreateAssetResult

    Result.

    TryGetImportOptions(const StringView& path, Options& options)

    Tries the get model import options from the target location asset.

    Declaration
    public static bool TryGetImportOptions(const StringView& path, Options& options)
    Parameters
    StringView path

    The asset path.

    Options options

    The options.

    Returns
    bool

    True if success, otherwise false.

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