docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Image

    Image data used to create a texture.

    Inheritance
    object
    NamedObject
    Image
    Image
    Inherited Members
    NamedObject.name
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class Image : NamedObject

    Fields

    Name Description
    bufferView

    The index of the bufferView that contains the image. Use this instead of the image's uri property.

    mimeType

    The image's MIME type.

    uri

    The uri of the image. Relative paths are relative to the .gltf file. Instead of referencing an external file, the uri can also be a data-uri. The image format must be jpg, png, bmp, or gif.

    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)