docs.unity3d.com
    Show / Hide Table of Contents

    Class AdapterImportContext

    AdapterImportContext

    Inheritance
    Object
    AdapterImportContext
    Namespace: Unity.Industrial.Forma.Editor.Adapters
    Syntax
    public class AdapterImportContext : object

    Constructors

    AdapterImportContext(IImportSource, FormaAdapter)

    Context constructor

    Declaration
    public AdapterImportContext(IImportSource importSource, FormaAdapter adapter)
    Parameters
    Type Name Description
    IImportSource importSource
    FormaAdapter adapter

    Properties

    Adapter

    Import adapter

    Declaration
    public FormaAdapter Adapter { get; }
    Property Value
    Type Description
    FormaAdapter

    DebugOutput

    Add custom debug output for this import action

    Declaration
    public Dictionary<string, object> DebugOutput { get; set; }
    Property Value
    Type Description
    Dictionary<String, Object>

    Source

    Import source

    Declaration
    public IImportSource Source { get; }
    Property Value
    Type Description
    IImportSource

    Methods

    ClearProgressBar()

    Clears the Progress Bar

    Declaration
    public void ClearProgressBar()

    DisplayProgressBar(Single, String)

    Show a progress bar

    Declaration
    public bool DisplayProgressBar(float progress = null, string step = "")
    Parameters
    Type Name Description
    Single progress
    String step
    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023