forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
textureInfo.schema.json
23 lines (23 loc) · 1.01 KB
/
textureInfo.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Texture Info",
"type": "object",
"description": "Reference to a texture.",
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
"properties": {
"index": {
"allOf": [ { "$ref": "glTFid.schema.json" } ],
"description": "The index of the texture."
},
"texCoord": {
"type": "integer",
"description": "The set index of texture's TEXCOORD attribute used for texture coordinate mapping.",
"default": 0,
"minimum": 0,
"gltf_detailedDescription": "This integer value is used to construct a string in the format `TEXCOORD_<set index>` which is a reference to a key in mesh.primitives.attributes (e.g. A value of `0` corresponds to `TEXCOORD_0`). Mesh must have corresponding texture coordinate attributes for the material to be applicable to it."
},
"extensions": { },
"extras": { }
},
"required": [ "index" ]
}