docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ExportSettings

    glTF export settings

    Inheritance
    object
    ExportSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: GLTFast.Export
    Assembly: glTFast.Export.dll
    Syntax
    public class ExportSettings

    Properties

    ComponentMask

    Component type flags to include or exclude components from export based on type.

    Declaration
    public ComponentType ComponentMask { get; set; }
    Property Value
    Type Description
    ComponentType

    Compression

    Type of compression to apply

    Declaration
    public Compression Compression { get; set; }
    Property Value
    Type Description
    Compression

    Deterministic

    If true, the export results will not differ on repeated exports. This comes at the cost of potentially longer export times on scenes with multiple, large meshes. This can be a requirement for certain asset pipelines or automated tests.

    Declaration
    public bool Deterministic { get; set; }
    Property Value
    Type Description
    bool

    DracoSettings

    Draco compression export settings

    Declaration
    public DracoExportSettings DracoSettings { get; set; }
    Property Value
    Type Description
    DracoExportSettings

    FileConflictResolution

    Resolutions to existing file conflicts

    Declaration
    public FileConflictResolution FileConflictResolution { get; set; }
    Property Value
    Type Description
    FileConflictResolution

    Format

    Export to JSON-based or binary format glTF files

    Declaration
    public GltfFormat Format { get; set; }
    Property Value
    Type Description
    GltfFormat

    ImageDestination

    Destination for image files

    Declaration
    public ImageDestination ImageDestination { get; set; }
    Property Value
    Type Description
    ImageDestination

    LightIntensityFactor

    Light intensity values are multiplied by this factor.

    Declaration
    public float LightIntensityFactor { get; set; }
    Property Value
    Type Description
    float

    PreservedVertexAttributes

    Controls which vertex attributes are preserved during export, regardless whether they are used/referenced or not. By default, unused attributes are discarded.

    Declaration
    public VertexAttributeUsage PreservedVertexAttributes { get; set; }
    Property Value
    Type Description
    VertexAttributeUsage
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)