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.13 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": "Camera Orthographic",
"type": "object",
"description": "An orthographic camera containing properties to create an orthographic projection matrix.",
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
"properties": {
"xmag": {
"type": "number",
"description": "The floating-point horizontal magnification of the view. Must not be zero."
},
"ymag": {
"type": "number",
"description": "The floating-point vertical magnification of the view. Must not be zero."
},
"zfar": {
"type": "number",
"description": "The floating-point distance to the far clipping plane. `zfar` must be greater than `znear`.",
"minimum": 0.0,
"exclusiveMinimum": true
},
"znear": {
"type": "number",
"description": "The floating-point distance to the near clipping plane.",
"minimum": 0.0
},
"extensions": { },
"extras": { }
},
"required": [ "xmag", "ymag", "zfar", "znear" ]
}