| diagram | ![]() |
||||||||||||||||||||||||
| location | C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json | ||||||||||||||||||||||||
| type | Object | ||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||
| used by | -allNodes > array items [0]+ / Schema / Material -material / Material |
||||||||||||||||||||||||
| source code | "Material": { "type": "object", "properties": { "@DEF": { "type": "string" }, "@USE": { "type": "string" }, "IS": { "$ref": "#/definitions/IS" }, "@ambientIntensity": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.2 }, "@diffuseColor": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.8 } }, "@emissiveColor": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } }, "@shininess": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.2 }, "@specularColor": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } }, "@transparency": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 }, "-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.2 } |
| diagram | ![]() |
||||
| property details |
|
||||
| type | Array | ||||
| array constraints |
|
||||
| array items |
|
||||
| source code | "@diffuseColor": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.8 } } |
| diagram | ![]() |
||||
| schema details |
|
||||
| type | Numeric | ||||
| numeric constraints |
|
||||
| source code | { "type": "number", "minimum": 0, "maximum": 1, "default": 0.8 } |
| diagram | ![]() |
||||
| property details |
|
||||
| type | Array | ||||
| array constraints |
|
||||
| array items |
|
||||
| source code | "@emissiveColor": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } } |
| diagram | ![]() |
||||
| schema details |
|
||||
| type | Numeric | ||||
| numeric constraints |
|
||||
| source code | { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } |
| diagram | ![]() |
||||
| property details |
|
||||
| schema details |
|
||||
| type | Numeric | ||||
| numeric constraints |
|
||||
| source code | "@shininess": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.2 } |
| diagram | ![]() |
||||
| property details |
|
||||
| type | Array | ||||
| array constraints |
|
||||
| array items |
|
||||
| source code | "@specularColor": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } } |
| diagram | ![]() |
||||
| schema details |
|
||||
| type | Numeric | ||||
| numeric constraints |
|
||||
| source code | { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } |
| diagram | ![]() |
||||
| property details |
|
||||
| schema details |
|
||||
| type | Numeric | ||||
| numeric constraints |
|
||||
| source code | "@transparency": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 } |
| diagram | ![]() |
||
| property details |
|
||
| reference | -metadata | ||
| source code | "-metadata": { "$ref": "#/definitions/-metadata" } |
| diagram | ![]() |
||
| property details |
|
||
| reference | -commentRoute | ||
| source code | "-children": { "$ref": "#/definitions/-commentRoute" } |