Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Class Importer.ImportResult

    Represents the result of an asynchronous import operation, tracking progress and results.

    Inheritance
    object
    Importer.ImportResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FBXImporter
    Assembly: FBXImporter.dll
    Syntax
    public class Importer.ImportResult

    Properties

    Animations

    Maps ufbx animations to Unity animation clips.

    Declaration
    public Dictionary<IntPtr, AnimationClip> Animations { get; }
    Property Value
    Type Description
    Dictionary<IntPtr, AnimationClip>

    GameObject

    Gets or sets the root GameObject of the imported model.

    Declaration
    public GameObject GameObject { get; }
    Property Value
    Type Description
    GameObject

    GameObjectPaths

    Maps ufbx nodes to Unity game object paths.

    Declaration
    public Dictionary<IntPtr, string> GameObjectPaths { get; }
    Property Value
    Type Description
    Dictionary<IntPtr, string>

    GameObjects

    Maps ufbx nodes to Unity game objects.

    Declaration
    public Dictionary<IntPtr, GameObject> GameObjects { get; }
    Property Value
    Type Description
    Dictionary<IntPtr, GameObject>

    LoadingCanceled

    Indicates whether the current loading process has been canceled.

    Declaration
    public bool LoadingCanceled { get; }
    Property Value
    Type Description
    bool

    LoadingPercentage

    Gets or sets the current loading progress (0 to 1).

    Declaration
    public float LoadingPercentage { get; }
    Property Value
    Type Description
    float

    Materials

    Maps ufbx materials to Unity materials.

    Declaration
    public Dictionary<IntPtr, Material> Materials { get; }
    Property Value
    Type Description
    Dictionary<IntPtr, Material>

    Meshes

    Maps ufbx meshes to Unity meshes.

    Declaration
    public Dictionary<IntPtr, Mesh> Meshes { get; }
    Property Value
    Type Description
    Dictionary<IntPtr, Mesh>

    Textures

    Maps ufbx textures to Unity textures.

    Declaration
    public Dictionary<IntPtr, Texture2D> Textures { get; }
    Property Value
    Type Description
    Dictionary<IntPtr, Texture2D>

    Methods

    CancelLoading()

    Cancels the current loading process by setting LoadingCanceled to true.

    Declaration
    public void CancelLoading()

    UpdateFileLoadingProgress(float)

    Updates the progress of file loading (parsing/processing).

    Declaration
    public void UpdateFileLoadingProgress(float progress)
    Parameters
    Type Name Description
    float progress

    Normalized progress (0 to 1) of file loading.

    In this article
    Back to top Generated by DocFX