docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ExportTextureInfo

    ExportTextureInfo(Texture, IGltfWritable, ImageFormat)

    Export a Unity texture to a glTF.

    Declaration
    protected static TextureInfo ExportTextureInfo(Texture texture, IGltfWritable gltf, ImageFormat format = ImageFormat.Unknown)
    Parameters
    Type Name Description
    Texture texture

    Texture to export.

    IGltfWritable gltf

    Context glTF to export to

    ImageFormat format

    Desired image format

    Returns
    Type Description
    TextureInfo

    glTF texture info

    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)