Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Enum ufbx.ufbx_index_error_handling

    Namespace: ufbxWrapper
    Assembly: ufbxWrapper.dll
    Syntax
    public enum ufbx.ufbx_index_error_handling

    Fields

    Name Description
    UFBX_INDEX_ERROR_HANDLING_ABORT_LOADING

    Fail loading entierely when encountering a bad index.

    UFBX_INDEX_ERROR_HANDLING_CLAMP

    Clamp to a valid value.

    UFBX_INDEX_ERROR_HANDLING_FORCE_32BIT
    UFBX_INDEX_ERROR_HANDLING_NO_INDEX

    Set bad indices to UFBX_NO_INDEX. This is the recommended way if you need to deal with files with gaps in information. HINT: If you use this ufbx_get_vertex_TYPE() functions will return zero on invalid indices instead of failing.

    UFBX_INDEX_ERROR_HANDLING_UNSAFE_IGNORE

    Pass bad indices through as-is. Requires ufbx_load_opts.allow_unsafe. UNSAFE: Breaks any API guarantees regarding indexes being in bounds and makes ufbx_get_vertex_TYPE() memory-unsafe to use.

    In this article
    Back to top Generated by DocFX