forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
material.schema.json
26 lines (26 loc) · 1.18 KB
/
material.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
{
"$schema" : "http://json-schema.org/draft-03/schema",
"title" : "material",
"type" : "object",
"description" : "The material appearance of a primitive.",
"extends" : { "$ref" : "glTFChildOfRootProperty.schema.json" },
"properties": {
"technique" : {
"extends" : { "$ref" : "glTFid.schema.json" },
"description" : "The ID of the technique.",
"gltf_detailedDescription" : "The ID of the technique. If this is not supplied, and no extension is present that defines material properties, then the primitive should be rendered using a default material with 50% gray emissive color."
},
"values" : {
"type" : "object",
"description" : "A dictionary object of parameter values.",
"properties" : {
},
"additionalProperties" : {
"$ref" : "material.values.schema.json"
},
"default" : {},
"gltf_detailedDescription" : "A dictionary object of parameter values. Parameters with the same name as the technique's parameter override the technique's parameter value."
}
},
"additionalProperties" : false
}