diagram | |||||||||||||||||||||||||
location | C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json | ||||||||||||||||||||||||
type | Object | ||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||
used by | -allNodes > array items [0]+ / Schema / MultiTexture -texture / MultiTexture -texture2DMulti / MultiTexture |
||||||||||||||||||||||||
source code | "MultiTexture": { "type": "object", "properties": { "@DEF": { "type": "string" }, "@USE": { "type": "string" }, "IS": { "$ref": "#/definitions/IS" }, "@alpha": { "type": "number", "minimum": 0, "maximum": 1, "default": 0 }, "@color": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "minimum": 0, "maximum": 1, "default": 1 } }, "@function": { "type": "array", "minItems": 1, "items": { "type": "string", "enum": [ "", "COMPLEMENT", "ALPHAREPLICATE" ] } }, "@mode": { "type": "array", "minItems": 1, "items": { "type": "string", "enum": [ "ADD", "ADDSIGNED", "ADDSIGNED2X", "ADDSMOOTH", "BLENDCURRENTALPHA", "BLENDDIFFUSEALPHA", "BLENDFACTORALPHA", "BLENDTEXTUREALPHA", "DOTPRODUCT3", "MODULATE", "MODULATE2X", "MODULATE4X", "MODULATEALPHA_ADDCOLOR", "MODULATEINVALPHA_ADDCOLOR", "MODULATEINVCOLOR_ADDALPHA", "OFF", "REPLACE", "SELECTARG1", "SELECTARG2", "SUBTRACT" ] } }, "@source": { "type": "array", "minItems": 1, "items": { "type": "string", "enum": [ "DIFFUSE", "FACTOR", "SPECULAR" ] } }, "-metadata": { "$ref": "#/definitions/-metadata" }, "-texture": { "$ref": "#/definitions/-textures2D" }, "-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 | "@alpha": { "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 | "@function": { "type": "array", "minItems": 1, "items": { "type": "string", "enum": [ "", "COMPLEMENT", "ALPHAREPLICATE" ] } } |
diagram | |||||||||
type | String | ||||||||
enumerations |
|
||||||||
source code | { "type": "string", "enum": [ "", "COMPLEMENT", "ALPHAREPLICATE" ] } |
diagram | |||
property details |
|
||
type | Array | ||
array constraints |
|
||
array items |
|
||
source code | "@mode": { "type": "array", "minItems": 1, "items": { "type": "string", "enum": [ "ADD", "ADDSIGNED", "ADDSIGNED2X", "ADDSMOOTH", "BLENDCURRENTALPHA", "BLENDDIFFUSEALPHA", "BLENDFACTORALPHA", "BLENDTEXTUREALPHA", "DOTPRODUCT3", "MODULATE", "MODULATE2X", "MODULATE4X", "MODULATEALPHA_ADDCOLOR", "MODULATEINVALPHA_ADDCOLOR", "MODULATEINVCOLOR_ADDALPHA", "OFF", "REPLACE", "SELECTARG1", "SELECTARG2", "SUBTRACT" ] } } |
diagram | |||||||||||||||||||||||||||||||||||||||||||
type | String | ||||||||||||||||||||||||||||||||||||||||||
enumerations |
|
||||||||||||||||||||||||||||||||||||||||||
source code | { "type": "string", "enum": [ "ADD", "ADDSIGNED", "ADDSIGNED2X", "ADDSMOOTH", "BLENDCURRENTALPHA", "BLENDDIFFUSEALPHA", "BLENDFACTORALPHA", "BLENDTEXTUREALPHA", "DOTPRODUCT3", "MODULATE", "MODULATE2X", "MODULATE4X", "MODULATEALPHA_ADDCOLOR", "MODULATEINVALPHA_ADDCOLOR", "MODULATEINVCOLOR_ADDALPHA", "OFF", "REPLACE", "SELECTARG1", "SELECTARG2", "SUBTRACT" ] } |
diagram | |||
property details |
|
||
type | Array | ||
array constraints |
|
||
array items |
|
||
source code | "@source": { "type": "array", "minItems": 1, "items": { "type": "string", "enum": [ "DIFFUSE", "FACTOR", "SPECULAR" ] } } |
diagram | |||||||||
type | String | ||||||||
enumerations |
|
||||||||
source code | { "type": "string", "enum": [ "DIFFUSE", "FACTOR", "SPECULAR" ] } |
diagram | |||
property details |
|
||
reference | -metadata | ||
source code | "-metadata": { "$ref": "#/definitions/-metadata" } |
diagram | |||
property details |
|
||
reference | -textures2D | ||
source code | "-texture": { "$ref": "#/definitions/-textures2D" } |
diagram | |||
property details |
|
||
reference | -commentRoute | ||
source code | "-children": { "$ref": "#/definitions/-commentRoute" } |