diagram | |||||||||||||||||||
location | C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json | ||||||||||||||||||
type | Object | ||||||||||||||||||
properties |
|
||||||||||||||||||
used by | Scene / -children > array items [0]+ / Schema / Viewport TransformSensor / -targetObject > array items [0]+ / Schema / Viewport -allNodes > array items [0]+ / Schema / Viewport -child / Viewport -children > array items [0]+ / Schema / Viewport -grouping > array items [0]+ / Schema / Viewport -pickTarget > array items [0]+ / Schema / Viewport -viewport / Viewport |
||||||||||||||||||
source code | "Viewport": { "type": "object", "properties": { "@DEF": { "type": "string" }, "@USE": { "type": "string" }, "IS": { "$ref": "#/definitions/IS" }, "@bboxCenter": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "default": 0 } }, "@bboxSize": { "$ref": "#/definitions/@bboxSize" }, "@clipBoundary": { "type": "array", "minItems": 4, "maxItems": 4, "items": [ { "type": "number", "minimum": 0, "maximum": 1, "default": 0 }, { "type": "number", "minimum": 0, "maximum": 1, "default": 1 }, { "type": "number", "minimum": 0, "maximum": 1, "default": 0 }, { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } ], "additionalItems": false }, "-children": { "$ref": "#/definitions/-children" }, "-metadata": { "$ref": "#/definitions/-metadata" } }, "additionalProperties": false } |
diagram | |||
property details |
|
||
type | String | ||
source code | "@DEF": { "type": "string" } |
diagram | |||
property details |
|
||
type | String | ||
source code | "@USE": { "type": "string" } |
diagram | |||
property details |
|
||
reference | IS | ||
source code | "IS": { "$ref": "#/definitions/IS" } |
diagram | |||||
property details |
|
||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | "@bboxCenter": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "default": 0 } } |
diagram | |||
schema details |
|
||
type | Numeric | ||
source code | { "type": "number", "default": 0 } |
diagram | |||
property details |
|
||
reference | @bboxSize | ||
source code | "@bboxSize": { "$ref": "#/definitions/@bboxSize" } |
diagram | |||||||||
property details |
|
||||||||
type | Array | ||||||||
array constraints |
|
||||||||
array items |
|
||||||||
source code | "@clipBoundary": { "type": "array", "minItems": 4, "maxItems": 4, "items": [ { "type": "number", "minimum": 0, "maximum": 1, "default": 0 }, { "type": "number", "minimum": 0, "maximum": 1, "default": 1 }, { "type": "number", "minimum": 0, "maximum": 1, "default": 0 }, { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } ], "additionalItems": false } |
diagram | |||||
schema details |
|
||||
type | Numeric | ||||
numeric constraints |
|
||||
source code | { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } |
diagram | |||||
schema details |
|
||||
type | Numeric | ||||
numeric constraints |
|
||||
source code | { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } |
diagram | |||||
schema details |
|
||||
type | Numeric | ||||
numeric constraints |
|
||||
source code | { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } |
diagram | |||||
schema details |
|
||||
type | Numeric | ||||
numeric constraints |
|
||||
source code | { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } |
diagram | |||
property details |
|
||
reference | -children | ||
source code | "-children": { "$ref": "#/definitions/-children" } |
diagram | |||
property details |
|
||
reference | -metadata | ||
source code | "-metadata": { "$ref": "#/definitions/-metadata" } |