docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ImageExportBase

    Wrapper to export a glTF image from one or more Unity textures

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

    Properties

    Name Description
    FileName

    Exported texture's file name

    FilterMode

    Source texture's filter mode

    MimeType

    Exported texture's mime type

    WrapModeU

    Source texture's wrap mode (U direction)

    WrapModeV

    Source texture's wrap mode (V direction)

    Methods

    Name Description
    EncodeTexture(Texture2D, ImageFormat, bool, Material)

    Encodes the export texture

    GetData()

    Returns the exported and encoded texture data

    Write(string, bool)

    Writes image file

    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)