Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Class ufbx_load_opts_safe

    Provides utility methods and delegates for managing progress and file-opening callbacks for ufbx.ufbx_load_opts during model loading with the ufbx library. Ensures safe interoperability between managed and native code.

    Inheritance
    object
    ufbx_load_opts_safe
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ufbxSafe
    Assembly: ufbxSafe.dll
    Syntax
    public static class ufbx_load_opts_safe

    Methods

    set_open_file_cb(ref ufbx_load_opts, ufbx_open_file_fn_safe, object)

    Configures a file open callback for the specified ufbx.ufbx_load_opts.

    Declaration
    public static ufbx_load_opts_safe.CallbackAndData set_open_file_cb(this ref ufbx.ufbx_load_opts loadOpts, ufbx_load_opts_safe.ufbx_open_file_fn_safe onOpenFile, object userData = null)
    Parameters
    Type Name Description
    ufbx.ufbx_load_opts loadOpts

    The ufbx.ufbx_load_opts to modify.

    ufbx_load_opts_safe.ufbx_open_file_fn_safe onOpenFile

    The user-defined file open callback delegate.

    object userData

    Optional user-defined data to pass to the callback.

    Returns
    Type Description
    ufbx_load_opts_safe.CallbackAndData

    A ufbx_load_opts_safe.CallbackAndData instance managing the callback and its resources.

    set_progress_cb(ref ufbx_load_opts, ufbx_progress_fn_safe, object)

    Configures a progress callback for the specified ufbx.ufbx_load_opts.

    Declaration
    public static ufbx_load_opts_safe.CallbackAndData set_progress_cb(this ref ufbx.ufbx_load_opts loadOpts, ufbx_load_opts_safe.ufbx_progress_fn_safe onProgress, object userData = null)
    Parameters
    Type Name Description
    ufbx.ufbx_load_opts loadOpts

    The ufbx.ufbx_load_opts to modify.

    ufbx_load_opts_safe.ufbx_progress_fn_safe onProgress

    The user-defined progress callback delegate.

    object userData

    Optional user-defined data to pass to the callback.

    Returns
    Type Description
    ufbx_load_opts_safe.CallbackAndData

    A ufbx_load_opts_safe.CallbackAndData instance managing the callback and its resources.

    In this article
    Back to top Generated by DocFX