forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
animation.channel.target.schema.json
36 lines (36 loc) · 1.41 KB
/
animation.channel.target.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
32
33
34
35
36
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Animation Channel Target",
"type": "object",
"description": "The index of the node and TRS property that an animation channel targets.",
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
"properties": {
"node": {
"allOf": [ { "$ref": "glTFid.schema.json" } ],
"description": "The index of the node to target."
},
"path": {
"description": "The name of the node's TRS property to modify, or the \"weights\" of the Morph Targets it instantiates. For the \"translation\" property, the values that are provided by the sampler are the translation along the x, y, and z axes. For the \"rotation\" property, the values are a quaternion in the order (x, y, z, w), where w is the scalar. For the \"scale\" property, the values are the scaling factors along the x, y, and z axes.",
"anyOf": [
{
"enum": [ "translation" ]
},
{
"enum": [ "rotation" ]
},
{
"enum": [ "scale" ]
},
{
"enum": [ "weights" ]
},
{
"type": "string"
}
]
},
"extensions": { },
"extras": { }
},
"required": [ "path" ]
}