We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class GltfTexture

    A texture and its sampler. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/texture.schema.json

    Inheritance
    Object
    GltfProperty
    GltfChildOfRootProperty
    GltfTexture
    Inherited Members
    GltfChildOfRootProperty.name
    GltfProperty.Extensions
    GltfProperty.Extras
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class GltfTexture : GltfChildOfRootProperty

    Fields

    sampler

    The index of the sampler used by this texture.

    Declaration
    public int sampler
    Field Value
    Type Description
    Int32

    source

    The index of the image used by this texture.

    Declaration
    public int source
    Field Value
    Type Description
    Int32

    Properties

    Texture

    Unity Texture2D wrapper for GltfTexture

    Declaration
    public Texture2D Texture { get; }
    Property Value
    Type Description
    Texture2D
    In This Article
    Back to top Generated by DocFX