docs.unity3d.com
    Show / Hide Table of Contents

    Class TextureInfo

    Reference to a texture.

    Inheritance
    Object
    TextureInfo
    NormalTextureInfo
    OcclusionTextureInfo
    Inherited Members
    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 TextureInfo

    Fields

    extensions

    Declaration
    public TextureInfoExtension extensions
    Field Value
    Type Description
    TextureInfoExtension

    index

    The index of the texture.

    Declaration
    public int index
    Field Value
    Type Description
    Int32

    texCoord

    This integer value is used to construct a string in the format TEXCOORD_<set index> which is a reference to a key in mesh.primitives.attributes (e.g. A value of 0 corresponds to TEXCOORD_0).

    Declaration
    public int texCoord
    Field Value
    Type Description
    Int32
    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