mixedreality/com.microsoft.mixedreality..../Core/Utilities/Gltf/Schema/GltfTextureInfo.cs

26 lines
809 B
C#

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
{
/// <summary>
/// https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/textureInfo.schema.json
/// </summary>
[Serializable]
public class GltfTextureInfo : GltfProperty
{
/// <summary>
/// The index of the texture.
/// </summary>
public int index = -1;
/// <summary>
/// This integer value is used to construct a string in the format
/// TEXCOORD_&lt;set index&gt; which is a reference to a key in
/// mesh.primitives.attributes (e.g. A value of 0 corresponds to TEXCOORD_0).
/// </summary>
public int textCoord = 0;
}
}