docs.unity3d.com
    Show / Hide Table of Contents

    Class Image

    Image data used to create a texture.

    Inheritance
    Object
    NamedObject
    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
    Syntax
    [Serializable]
    public class Image : NamedObject

    Fields

    bufferView

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

    Declaration
    public int bufferView
    Field Value
    Type Description
    Int32

    mimeType

    The image's MIME type. 1

    Declaration
    public string mimeType
    Field Value
    Type Description
    String

    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.

    Declaration
    public string uri
    Field Value
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023