mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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
    public class GltfTexture : GltfChildOfRootProperty

    Fields

    sampler

    The index of the sampler used by this texture.

    Declaration
    public int sampler
    Field Value
    Type Description
    Int32

    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

    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

    Texture

    Unity Texture2D wrapper for GltfTexture

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