Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Class Importer.AdditionalLoadingOptions

    Represents additional options that control the behavior of asset loading, such as texture compression, mipmap generation, and memory optimization strategies. This struct allows fine-tuning of import-time features to balance between performance, memory usage, and visual fidelity.

    Inheritance
    object
    Importer.AdditionalLoadingOptions
    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.AdditionalLoadingOptions
    Remarks

    You can create an instance of this class and pass it to the ImportFromFile, ImportFromFileAsync, ImportFromStream, and ImportFromStreamAsync methods of the Importer class.

    Fields

    CompressTextures

    Determines whether textures are compressed during import to reduce memory usage. If true, textures are compressed using the quality specified by CompressWithHighQuality. If false, textures remain uncompressed. Defaults to true.

    Declaration
    public bool CompressTextures
    Field Value
    Type Description
    bool
    Remarks

    This option increases the importing time when enabled.

    CompressWithHighQuality

    Specifies the quality of texture compression when CompressTextures is true. If true, high-quality compression prioritizes visual fidelity. If false, lower-quality compression optimizes for smaller file sizes. Defaults to true.

    Declaration
    public bool CompressWithHighQuality
    Field Value
    Type Description
    bool
    Remarks

    This option increases the importing time when enabled.

    GenerateMipMaps

    Determines whether mipmaps are generated for textures during import. If true, mipmaps are created to improve rendering performance and quality at varying distances. If false, mipmaps are not generated to save memory. Defaults to true.

    Declaration
    public bool GenerateMipMaps
    Field Value
    Type Description
    bool
    Remarks

    This option increases the importing time when enabled.

    MakeMeshesNoLongerReadable

    Determines whether meshes are marked as non-readable after import to reduce memory usage. If true, meshes are non-readable, preventing CPU access. If false, meshes remain readable, increasing memory usage. Defaults to true.

    Declaration
    public bool MakeMeshesNoLongerReadable
    Field Value
    Type Description
    bool

    MakeTexturesNoLongerReadable

    Determines whether textures are marked as non-readable after import to reduce memory usage. If true, textures are non-readable, preventing CPU access. If false, textures remain readable, increasing memory usage. Defaults to true.

    Declaration
    public bool MakeTexturesNoLongerReadable
    Field Value
    Type Description
    bool

    MaxThreadStall

    Defines the maximum time (in milliseconds) the main thread can be stalled before yielding. Defaults to 33ms.

    Declaration
    public int MaxThreadStall
    Field Value
    Type Description
    int
    Remarks

    Only works with asynchronous import methods.

    TextureFilterMode

    Specifies the filter mode for imported textures, controlling sampling behavior. Affects texture quality when mipmaps are enabled (see GenerateMipMaps). Defaults to UnityEngine.FilterMode.Trilinear for smooth mipmap transitions.

    Declaration
    public FilterMode TextureFilterMode
    Field Value
    Type Description
    FilterMode
    In this article
    Back to top Generated by DocFX