Class GltfTexture
A texture and its sampler. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/texture.schema.json
Inherited Members
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 |
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 |