forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skin.schema.json
31 lines (31 loc) · 1.38 KB
/
skin.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
25
26
27
28
29
30
31
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Skin",
"type": "object",
"description": "Joints and matrices defining a skin.",
"allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ],
"properties": {
"inverseBindMatrices": {
"allOf": [ { "$ref": "glTFid.schema.json" } ],
"description": "The index of the accessor containing the floating-point 4x4 inverse-bind matrices. The default is that each matrix is a 4x4 identity matrix, which implies that inverse-bind matrices were pre-applied."
},
"skeleton": {
"allOf": [ { "$ref": "glTFid.schema.json" } ],
"description": "The index of the node used as a skeleton root. When undefined, joints transforms resolve to scene root."
},
"joints": {
"type": "array",
"description": "Indices of skeleton nodes, used as joints in this skin.",
"items": {
"$ref": "glTFid.schema.json"
},
"uniqueItems": true,
"minItems": 1,
"gltf_detailedDescription": "Indices of skeleton nodes, used as joints in this skin. The array length must be the same as the `count` property of the `inverseBindMatrices` accessor (when defined)."
},
"name": { },
"extensions": { },
"extras": { }
},
"required": [ "joints" ]
}