forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mesh.schema.json
29 lines (29 loc) · 971 Bytes
/
mesh.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
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Mesh",
"type": "object",
"description": "A set of primitives to be rendered. A node can contain one mesh. A node's transform places the mesh in the scene.",
"allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ],
"properties": {
"primitives": {
"type": "array",
"description": "An array of primitives, each defining geometry to be rendered with a material.",
"items": {
"$ref": "mesh.primitive.schema.json"
},
"minItems": 1
},
"weights": {
"type": "array",
"description": "Array of weights to be applied to the Morph Targets.",
"items": {
"type": "number"
},
"minItems": 1
},
"name": { },
"extensions": { },
"extras": { }
},
"required": [ "primitives" ]
}