{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class TextureBase | Unity glTFast | 6.0.1
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TextureBase

    A texture is defined by an image and a sampler.

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

    Fields

    Name Description
    sampler

    The index of the sampler used by this texture.

    source

    The index of the image used by this texture.

    Properties

    Name Description
    Extensions

    Texture extensions

    IsKtx

    True, if the texture is of the KTX format.

    Methods

    Name Description
    Equals(object)

    Determines whether two object instances are equal.

    GetHashCode()

    Default hash function.

    GetImageIndex()

    Retrieves the final image index.

    In This Article
    Back to top
    Copyright © 2023 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)