forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcameraPerspective.schema.json
33 lines (33 loc) · 1.06 KB
/
cameraPerspective.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
{
"$schema" : "http://json-schema.org/draft-03/schema",
"title" : "camera/perspective",
"type" : "object",
"extends" : { "$ref" : "glTFProperty.schema.json" },
"properties" : {
"aspectRatio" : {
"type" : "number",
"description" : "The floating-point aspect ratio of the field of view.",
"required" : true,
"minimum" : 0.0
},
"yfov" : {
"type" : "number",
"description" : "The floating-point vertical field of view in radians.",
"required" : true,
"minimum" : 0.0
},
"zfar" : {
"type" : "number",
"description" : "The floating-point distance to the far clipping plane.",
"required" : true,
"exclusiveMinimum" : 0.0
},
"znear" : {
"type" : "number",
"description" : "The floating-point distance to the near clipping plane.",
"required" : true,
"exclusiveMinimum" : 0.0
}
},
"additionalProperties" : false
}