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 / DirectionalLight -allNodes > array items [0]+ / Schema / DirectionalLight -child / DirectionalLight -children > array items [0]+ / Schema / DirectionalLight |
||||||||||||||||||||||||
source code | "DirectionalLight": { "type": "object", "properties": { "@DEF": { "type": "string" }, "@USE": { "type": "string" }, "IS": { "$ref": "#/definitions/IS" }, "@ambientIntensity": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 }, "@color": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } }, "@direction": { "type": "array", "minItems": 3, "maxItems": 3, "items": [ { "type": "number", "default": 0 }, { "type": "number", "default": 0 }, { "type": "number", "default": -1 } ], "additionalItems": false }, "@global": { "type": "boolean", "default": false }, "@intensity": { "type": "number", "minimum": 0, "maximum": 1, "default": 1 }, "@on": { "type": "boolean", "default": true }, "-metadata": { "$ref": "#/definitions/-metadata" }, "-children": { "$ref": "#/definitions/-commentRoute" } }, "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 |
|
||||
schema details |
|
||||
type | Numeric | ||||
numeric constraints |
|
||||
source code | "@ambientIntensity": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } |
diagram | |||||
property details |
|
||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | "@color": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } } |
diagram | |||||
schema details |
|
||||
type | Numeric | ||||
numeric constraints |
|
||||
source code | { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } |
diagram | |||||||
property details |
|
||||||
type | Array | ||||||
array constraints |
|
||||||
array items |
|
||||||
source code | "@direction": { "type": "array", "minItems": 3, "maxItems": 3, "items": [ { "type": "number", "default": 0 }, { "type": "number", "default": 0 }, { "type": "number", "default": -1 } ], "additionalItems": false } |
diagram | |||
schema details |
|
||
type | Numeric | ||
source code | { "type": "number", "default": 0 } |
diagram | |||
schema details |
|
||
type | Numeric | ||
source code | { "type": "number", "default": 0 } |
diagram | |||
schema details |
|
||
type | Numeric | ||
source code | { "type": "number", "default": -1 } |
diagram | |||
property details |
|
||
schema details |
|
||
type | Boolean | ||
source code | "@global": { "type": "boolean", "default": false } |
diagram | |||||
property details |
|
||||
schema details |
|
||||
type | Numeric | ||||
numeric constraints |
|
||||
source code | "@intensity": { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } |
diagram | |||
property details |
|
||
schema details |
|
||
type | Boolean | ||
source code | "@on": { "type": "boolean", "default": true } |
diagram | |||
property details |
|
||
reference | -metadata | ||
source code | "-metadata": { "$ref": "#/definitions/-metadata" } |
diagram | |||
property details |
|
||
reference | -commentRoute | ||
source code | "-children": { "$ref": "#/definitions/-commentRoute" } |