forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
camera.orthographic.schema.json
31 lines (31 loc) · 1.07 KB
/
camera.orthographic.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" : "orthographic",
"type" : "object",
"description" : "An orthographic camera containing properties to create an orthographic projection matrix.",
"allOf" : [ { "$ref" : "glTFProperty.schema.json" } ],
"properties" : {
"extensions" : {},
"extras" : {},
"xmag" : {
"type" : "number",
"description" : "The floating-point horizontal magnification of the view."
},
"ymag" : {
"type" : "number",
"description" : "The floating-point vertical magnification of the view."
},
"zfar" : {
"type" : "number",
"description" : "The floating-point distance to the far clipping plane.",
"minimum" : 0.0
},
"znear" : {
"type" : "number",
"description" : "The floating-point distance to the near clipping plane.",
"minimum" : 0.0
}
},
"additionalProperties" : false,
"required": ["xmag", "ymag", "zfar", "znear"]
}