docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ExportUnlit

    ExportUnlit(Material, Material, int, IGltfWritable, ICodeLogger)

    Converts an unlit Unity material into a glTF material

    Declaration
    protected void ExportUnlit(Material material, Material uMaterial, int mainTexProperty, IGltfWritable gltf, ICodeLogger logger)
    Parameters
    Type Name Description
    Material material

    Destination glTF material

    Material uMaterial

    Source Unity material

    int mainTexProperty

    Main texture property ID

    IGltfWritable gltf

    Context glTF to export to

    ICodeLogger logger

    Custom logger

    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)