Schema definition MultiTexture
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1778.png
location E:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json
type Object
properties
Name   Occurrence
@DEF   Optional
@USE   Optional
IS   Optional
@alpha   Optional
@color   Optional
@function   Optional
@mode   Optional
@source   Optional
-metadata   Optional
-texture   Optional
-children   Optional
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
}

Property MultiTexture / @DEF
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1779.png
property details
Occurrence  Optional
type String
source code "@DEF": {
    "type": "string"
}

Property MultiTexture / @USE
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1780.png
property details
Occurrence  Optional
type String
source code "@USE": {
    "type": "string"
}

Property MultiTexture / IS
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1781.png
property details
Occurrence  Optional
reference IS
source code "IS": {
    "$ref": "#/definitions/IS"
}

Property MultiTexture / @alpha
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1782.png
property details
Occurrence  Optional
schema details
Default  0
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code "@alpha": {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 0
}

Property MultiTexture / @color
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1783.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  3
Max Items  3
array items
[0 - 2]  Schema
source code "@color": {
    "type": "array",
    "minItems": 3,
    "maxItems": 3,
    "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1,
        "default": 1
    }
}

Array item wildcard MultiTexture / @color > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1784.png
schema details
Default  1
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 1
}

Property MultiTexture / @function
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1785.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  1
array items
[0]+  Schema
source code "@function": {
    "type": "array",
    "minItems": 1,
    "items": {
        "type": "string",
        "enum": [
            "",
            "COMPLEMENT",
            "ALPHAREPLICATE"
        ]
    }
}

Array item wildcard MultiTexture / @function > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1786.png
type String
enumerations
Type   Value
string   
string   COMPLEMENT
string   ALPHAREPLICATE
source code {
    "type": "string",
    "enum": [
        "",
        "COMPLEMENT",
        "ALPHAREPLICATE"
    ]
}

Property MultiTexture / @mode
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1787.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  1
array items
[0]+  Schema
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"
        ]
    }
}

Array item wildcard MultiTexture / @mode > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1788.png
type String
enumerations
Type   Value
string   ADD
string   ADDSIGNED
string   ADDSIGNED2X
string   ADDSMOOTH
string   BLENDCURRENTALPHA
string   BLENDDIFFUSEALPHA
string   BLENDFACTORALPHA
string   BLENDTEXTUREALPHA
string   DOTPRODUCT3
string   MODULATE
string   MODULATE2X
string   MODULATE4X
string   MODULATEALPHA_ADDCOLOR
string   MODULATEINVALPHA_ADDCOLOR
string   MODULATEINVCOLOR_ADDALPHA
string   OFF
string   REPLACE
string   SELECTARG1
string   SELECTARG2
string   SUBTRACT
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"
    ]
}

Property MultiTexture / @source
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1789.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  1
array items
[0]+  Schema
source code "@source": {
    "type": "array",
    "minItems": 1,
    "items": {
        "type": "string",
        "enum": [
            "DIFFUSE",
            "FACTOR",
            "SPECULAR"
        ]
    }
}

Array item wildcard MultiTexture / @source > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1790.png
type String
enumerations
Type   Value
string   DIFFUSE
string   FACTOR
string   SPECULAR
source code {
    "type": "string",
    "enum": [
        "DIFFUSE",
        "FACTOR",
        "SPECULAR"
    ]
}

Property MultiTexture / -metadata
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1791.png
property details
Occurrence  Optional
reference -metadata
source code "-metadata": {
    "$ref": "#/definitions/-metadata"
}

Property MultiTexture / -texture
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1792.png
property details
Occurrence  Optional
reference -textures2D
source code "-texture": {
    "$ref": "#/definitions/-textures2D"
}

Property MultiTexture / -children
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1793.png
property details
Occurrence  Optional
reference -commentRoute
source code "-children": {
    "$ref": "#/definitions/-commentRoute"
}


JSON Schema documentation generated by XMLSpy JSON Schema Editor http://www.altova.com/xmlspy/json-schema-editor.html