-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathtextureInfo.schema.json
24 lines (24 loc) · 1.07 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
24
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "textureInfo.schema.json",
"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`). A mesh primitive **MUST** have the corresponding texture coordinate attributes for the material to be applicable to it."
},
"extensions": { },
"extras": { }
},
"required": [ "index" ]
}