declare const _default: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "scenes": { "type": "array", "items": { "$ref": "#/definitions/TSceneConfig" } }, "entities": { "$ref": "#/definitions/TSpaceConfigEntities" }, "resources": { "$ref": "#/definitions/TSpaceConfigResources" }, "canvasSelector": { "type": "string" }, "version": { "$ref": "#/definitions/SpaceSchemaVersion" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["canvasSelector", "entities", "name", "resources", "scenes", "version"], "definitions": { "TSceneConfig": { "type": "object", "additionalProperties": false, "properties": { "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "position": { "$ref": "#/definitions/Vector3Like" }, "background": { "type": "string" }, "name": { "type": "string" }, "isActive": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["isActive", "name"] }, "TEulerLike": { "type": "object", "properties": { "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" }, "order": { "type": "string", "enum": ["XYZ", "XZY", "YXZ", "YZX", "ZXY", "ZYX"] } }, "required": ["x", "y", "z"], "additionalProperties": false }, "QuaternionLike": { "type": "object", "properties": { "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" }, "w": { "type": "number" } }, "required": ["x", "y", "z", "w"], "additionalProperties": false }, "Vector3Like": { "type": "object", "properties": { "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "required": ["x", "y", "z"], "additionalProperties": false }, "TSpaceConfigEntities": { "type": "object", "properties": { "spatialGrids": { "type": "array", "items": { "$ref": "#/definitions/TSpatialGridConfig" } }, "actors": { "type": "array", "items": { "$ref": "#/definitions/TActorConfig" } }, "audio": { "type": "array", "items": { "$ref": "#/definitions/TAnyAudioConfig" } }, "cameras": { "type": "array", "items": { "$ref": "#/definitions/TAnyCameraConfig" } }, "envMaps": { "type": "array", "items": { "$ref": "#/definitions/TEnvMapConfig" } }, "intersections": { "type": "array", "items": { "$ref": "#/definitions/TAnyIntersectionsWatcherConfig" } }, "lights": { "type": "array", "items": { "$ref": "#/definitions/TAnyLightConfig" } }, "materials": { "type": "array", "items": { "$ref": "#/definitions/TMaterialConfig" } }, "models3d": { "type": "array", "items": { "$ref": "#/definitions/TModel3dConfig" } }, "renderers": { "type": "array", "items": { "$ref": "#/definitions/TRendererConfig" } }, "particles": { "type": "array", "items": { "$ref": "#/definitions/TParticlesConfig" } }, "physics": { "$ref": "#/definitions/TPhysicsConfig" }, "fogs": { "type": "array", "items": { "$ref": "#/definitions/TFogConfig" } }, "fsm": { "type": "array", "items": { "$ref": "#/definitions/TFsmConfig" } }, "texts": { "type": "array", "items": { "$ref": "#/definitions/TTextConfig" } }, "controls": { "type": "array", "items": { "$ref": "#/definitions/TControlsConfig" } } }, "required": [ "spatialGrids", "actors", "audio", "cameras", "envMaps", "intersections", "lights", "materials", "models3d", "renderers", "particles", "physics", "fogs", "fsm", "texts", "controls" ], "additionalProperties": false }, "TSpatialGridConfig": { "$ref": "#/definitions/TSpatialGridParams" }, "TSpatialGridParams": { "type": "object", "additionalProperties": false, "properties": { "tags": { "type": "array", "items": { "type": "string" } }, "name": { "type": "string" }, "mapWidth": { "type": "number" }, "mapHeight": { "type": "number" }, "cellSize": { "type": "number" }, "centerX": { "type": "number" }, "centerZ": { "type": "number" } }, "required": ["cellSize", "centerX", "centerZ", "mapHeight", "mapWidth", "name"] }, "TActorConfig": { "type": "object", "additionalProperties": false, "properties": { "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "collisions": { "$ref": "#/definitions/TCollisionsDataConfig" }, "kinematic": { "$ref": "#/definitions/TKinematicConfig" }, "model3dSettings": { "$ref": "#/definitions/TActorModel3dSettingsConfig" }, "model3dSource": { "type": "string" }, "physicsBodyName": { "type": "string" }, "spatial": { "$ref": "#/definitions/TSpatialDataConfig" }, "states": { "$ref": "#/definitions/TActorStatesConfig" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["model3dSource", "name", "position", "spatial"] }, "TCollisionsDataConfig": { "type": "object", "additionalProperties": false, "properties": { "isAutoUpdate": { "type": "boolean" }, "updatePriority": { "$ref": "#/definitions/LoopUpdatePriority" } }, "required": ["isAutoUpdate"] }, "LoopUpdatePriority": { "type": "number", "enum": [0, 1, 2, 3, 4, 5] }, "TKinematicConfig": { "type": "object", "additionalProperties": false, "properties": { "isAutoUpdate": { "type": "boolean" }, "state": { "$ref": "#/definitions/TKinematicConfigState" }, "target": { "$ref": "#/definitions/TKinematicConfigTarget" } }, "required": ["isAutoUpdate"] }, "TKinematicConfigState": { "type": "object", "additionalProperties": false, "properties": { "linearDirection": { "$ref": "#/definitions/Vector3Like" }, "angularDirection": { "$ref": "#/definitions/TEulerLike" }, "linearSpeed": { "$ref": "#/definitions/TMetersPerSecond" }, "radius": { "$ref": "#/definitions/TMeters" }, "angularSpeed": { "$ref": "#/definitions/TRadiansPerSecond" }, "forwardAxis": { "$ref": "#/definitions/ForwardAxis" }, "isInfiniteRotation": { "type": "boolean" } }, "required": ["angularDirection", "angularSpeed", "forwardAxis", "isInfiniteRotation", "linearDirection", "linearSpeed", "radius"] }, "TMetersPerSecond": { "anyOf": [ { "type": "number" }, { "type": "number", "const": 0 } ] }, "TMeters": { "anyOf": [ { "type": "number" }, { "type": "number", "const": 0 } ] }, "TRadiansPerSecond": { "anyOf": [ { "type": "number" }, { "type": "number", "const": 0 } ] }, "ForwardAxis": { "type": "string", "enum": ["X", "Z"] }, "TKinematicConfigTarget": { "type": "object", "additionalProperties": false, "properties": { "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "$ref": "#/definitions/QuaternionLike" }, "positionThreshold": { "type": "number" }, "rotationThreshold": { "type": "number" } }, "required": ["positionThreshold", "rotationThreshold"] }, "TActorModel3dSettingsConfig": { "type": "object", "additionalProperties": false, "properties": { "positionOffset": { "$ref": "#/definitions/Vector3Like" }, "rotationOffset": { "anyOf": [ { "$ref": "#/definitions/QuaternionLike" }, { "$ref": "#/definitions/TEulerLike" } ] }, "scaleOffset": { "$ref": "#/definitions/Vector3Like" } } }, "TSpatialDataConfig": { "type": "object", "additionalProperties": false, "properties": { "isAutoUpdate": { "type": "boolean" }, "grid": { "type": "string" }, "updatePriority": { "$ref": "#/definitions/LoopUpdatePriority" } }, "required": ["grid", "isAutoUpdate"] }, "TActorStatesConfig": { "type": "object", "additionalProperties": false, "properties": { "animationsFsm": { "$ref": "#/definitions/TAnimationsFsmSource" } } }, "TAnimationsFsmSource": { "type": "object", "properties": { "name": { "type": "string" }, "currentState": { "$ref": "#/definitions/TFsmStates" }, "strategy": { "$ref": "#/definitions/FsmEventsStrategy" } }, "required": ["name"], "additionalProperties": false }, "TFsmStates": { "type": ["string", "number"] }, "FsmEventsStrategy": { "type": "string", "enum": ["strict_queue", "skip_pending", "replace_pending", "run_parallel"] }, "TransformAgent": { "type": "string", "enum": ["default", "kinematic", "physics", "connected"] }, "TAnyAudioConfig": { "anyOf": [ { "$ref": "#/definitions/TAudio3dConfig" }, { "$ref": "#/definitions/TAudioConfig" } ] }, "TAudio3dConfig": { "type": "object", "additionalProperties": false, "properties": { "position": { "$ref": "#/definitions/Vector3Like" }, "audioSource": { "type": "string" }, "listener": { "type": "string" }, "name": { "type": "string" }, "volume": { "type": "number" }, "loop": { "type": "boolean" }, "speed": { "type": "number" }, "seek": { "type": "number" }, "pause": { "type": "boolean" }, "refDistance": { "type": "number" }, "rolloffFactor": { "type": "number" }, "distanceModel": { "type": "string", "enum": ["linear", "inverse", "exponential"] }, "maxDistance": { "type": "number" }, "directionalCone": { "$ref": "#/definitions/Vector3Like" }, "performance": { "$ref": "#/definitions/TAudioPerformanceOptions" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["audioSource", "name", "position"] }, "TAudioPerformanceOptions": { "type": "object", "properties": { "updatePriority": { "$ref": "#/definitions/LoopUpdatePriority" } }, "additionalProperties": false }, "TAudioConfig": { "type": "object", "additionalProperties": false, "properties": { "audioSource": { "type": "string" }, "listener": { "type": "string" }, "name": { "type": "string" }, "volume": { "type": "number" }, "loop": { "type": "boolean" }, "speed": { "type": "number" }, "seek": { "type": "number" }, "pause": { "type": "boolean" }, "refDistance": { "type": "number" }, "rolloffFactor": { "type": "number" }, "distanceModel": { "type": "string", "enum": ["linear", "inverse", "exponential"] }, "maxDistance": { "type": "number" }, "directionalCone": { "$ref": "#/definitions/Vector3Like" }, "performance": { "$ref": "#/definitions/TAudioPerformanceOptions" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["audioSource", "name"] }, "TAnyCameraConfig": { "anyOf": [ { "$ref": "#/definitions/TPerspectiveCameraConfig" }, { "$ref": "#/definitions/TOrthographicCameraConfig" } ] }, "TPerspectiveCameraConfig": { "type": "object", "additionalProperties": false, "properties": { "filmGauge": { "type": "number" }, "filmOffset": { "type": "number" }, "focus": { "type": "number" }, "fov": { "type": "number" }, "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "lookAt": { "$ref": "#/definitions/Vector3Like" }, "audioListener": { "anyOf": [ { "$ref": "#/definitions/Listeners" }, { "type": "string" } ] }, "up": { "$ref": "#/definitions/Vector3Like" }, "far": { "type": "number" }, "near": { "type": "number" }, "type": { "$ref": "#/definitions/CameraType" }, "zoom": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "isActive": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["isActive", "name", "position", "type"] }, "Listeners": { "type": "string", "const": "main_listener" }, "CameraType": { "type": "string", "enum": ["PerspectiveCamera", "OrthographicCamera"] }, "TOrthographicCameraConfig": { "type": "object", "additionalProperties": false, "properties": { "bottom": { "type": "number" }, "left": { "type": "number" }, "right": { "type": "number" }, "top": { "type": "number" }, "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "lookAt": { "$ref": "#/definitions/Vector3Like" }, "audioListener": { "anyOf": [ { "$ref": "#/definitions/Listeners" }, { "type": "string" } ] }, "up": { "$ref": "#/definitions/Vector3Like" }, "far": { "type": "number" }, "near": { "type": "number" }, "type": { "$ref": "#/definitions/CameraType" }, "zoom": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "isActive": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["isActive", "name", "position", "type"] }, "TEnvMapConfig": { "type": "object", "additionalProperties": false, "properties": { "texture": { "type": "string" }, "isActive": { "type": "boolean" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["isActive", "name", "texture"] }, "TAnyIntersectionsWatcherConfig": { "anyOf": [ { "$ref": "#/definitions/TIntersectionsCameraWatcherConfig" }, { "$ref": "#/definitions/TIntersectionsDirectionWatcherConfig" } ] }, "TIntersectionsCameraWatcherConfig": { "type": "object", "additionalProperties": false, "properties": { "cameraName": { "type": "string" }, "actorNames": { "type": "array", "items": { "type": "string" } }, "isAutoStart": { "type": "boolean" }, "intersectionsLoop": { "type": "string" }, "performance": { "$ref": "#/definitions/TIntersectionsWatcherPerformanceOptions" }, "far": { "type": "number" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "triggerNoIntersections": { "type": "boolean" }, "isDistinct": { "type": "boolean" } }, "required": ["actorNames", "cameraName", "isAutoStart", "name"] }, "TIntersectionsWatcherPerformanceOptions": { "type": "object", "properties": { "noiseThreshold": { "type": "number" }, "shouldReactOnlyOnChange": { "type": "boolean" } }, "additionalProperties": false }, "TIntersectionsDirectionWatcherConfig": { "type": "object", "additionalProperties": false, "properties": { "origin": { "$ref": "#/definitions/Vector3Like" }, "direction": { "$ref": "#/definitions/Vector3Like" }, "actorNames": { "type": "array", "items": { "type": "string" } }, "isAutoStart": { "type": "boolean" }, "intersectionsLoop": { "type": "string" }, "performance": { "$ref": "#/definitions/TIntersectionsWatcherPerformanceOptions" }, "far": { "type": "number" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["actorNames", "direction", "isAutoStart", "name", "origin"] }, "TAnyLightConfig": { "anyOf": [ { "$ref": "#/definitions/TAmbientLightConfig" }, { "$ref": "#/definitions/THemisphereLightConfig" }, { "$ref": "#/definitions/TDirectionalLightConfig" }, { "$ref": "#/definitions/TPointLightConfig" }, { "$ref": "#/definitions/TRectAreaLightConfig" }, { "$ref": "#/definitions/TSpotLightConfig" } ] }, "TAmbientLightConfig": { "$ref": "#/definitions/TAbstractLightConfig%3CTAmbientLightParams%3E" }, "TAbstractLightConfig": { "type": "object", "additionalProperties": false, "properties": { "tags": { "type": "array", "items": { "type": "string" } }, "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "color": { "type": "string" }, "shadow": { "$ref": "#/definitions/TLightShadowConfig" }, "type": { "$ref": "#/definitions/LightType" }, "intensity": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" } }, "required": ["color", "name", "position", "type"] }, "TLightShadowConfig": { "type": "object", "additionalProperties": false, "properties": { "mapSize": { "$ref": "#/definitions/Vector2Like" }, "camera": { "$ref": "#/definitions/TShadowCameraConfig" }, "normalBias": { "type": "number" } }, "required": ["camera", "mapSize", "normalBias"] }, "Vector2Like": { "type": "object", "properties": { "x": { "type": "number" }, "y": { "type": "number" } }, "required": ["x", "y"], "additionalProperties": false }, "TShadowCameraConfig": { "type": "object", "additionalProperties": false, "properties": { "type": { "$ref": "#/definitions/CameraType" }, "far": { "type": "number" }, "near": { "type": "number" }, "zoom": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "tags": { "type": "array", "items": { "type": "string" } }, "lookAt": { "$ref": "#/definitions/Vector3Like" }, "up": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "scale": { "$ref": "#/definitions/Vector3Like" }, "filmGauge": { "type": "number" }, "filmOffset": { "type": "number" }, "focus": { "type": "number" }, "fov": { "type": "number" }, "bottom": { "type": "number" }, "left": { "type": "number" }, "right": { "type": "number" }, "top": { "type": "number" } } }, "LightType": { "type": "string", "enum": ["AmbientLight", "DirectionalLight", "HemisphereLight", "PointLight", "RectAreaLight", "SpotLight"] }, "THemisphereLightConfig": { "type": "object", "additionalProperties": false, "properties": { "groundColor": { "type": "string" }, "type": { "$ref": "#/definitions/LightType" }, "intensity": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "color": { "type": "string" }, "shadow": { "$ref": "#/definitions/TLightShadowConfig" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" } }, "required": ["color", "groundColor", "name", "position", "type"] }, "TDirectionalLightConfig": { "type": "object", "additionalProperties": false, "properties": { "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "color": { "type": "string" }, "type": { "$ref": "#/definitions/LightType" }, "intensity": { "type": "number" }, "shadow": { "$ref": "#/definitions/TLightShadowParams" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["color", "name", "position", "type"] }, "TLightShadowParams": { "type": "object", "properties": { "mapSize": { "$ref": "#/definitions/Vector2" }, "camera": { "$ref": "#/definitions/TShadowCameraParams" }, "normalBias": { "type": "number" } }, "required": ["mapSize", "camera", "normalBias"], "additionalProperties": false }, "Vector2": { "type": "object", "properties": { "x": { "type": "number", "default": 0 }, "y": { "type": "number", "default": 0 }, "width": { "type": "number" }, "height": { "type": "number" }, "isVector2": { "type": "boolean", "const": true } }, "required": ["x", "y", "width", "height", "isVector2"], "additionalProperties": false }, "TShadowCameraParams": { "type": "object", "additionalProperties": false, "properties": { "type": { "$ref": "#/definitions/CameraType" }, "far": { "type": "number" }, "lookAt": { "$ref": "#/definitions/Vector3" }, "near": { "type": "number" }, "up": { "$ref": "#/definitions/Vector3" }, "zoom": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "scale": { "$ref": "#/definitions/Vector3" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "tags": { "type": "array", "items": { "type": "string" } }, "filmGauge": { "type": "number" }, "filmOffset": { "type": "number" }, "focus": { "type": "number" }, "fov": { "type": "number" }, "bottom": { "type": "number" }, "left": { "type": "number" }, "right": { "type": "number" }, "top": { "type": "number" } } }, "Vector3": { "type": "object", "properties": { "x": { "type": "number", "default": 0 }, "y": { "type": "number", "default": 0 }, "z": { "type": "number", "default": 0 }, "isVector3": { "type": "boolean", "const": true } }, "required": ["x", "y", "z", "isVector3"], "additionalProperties": false }, "TPointLightConfig": { "$ref": "#/definitions/TAbstractLightConfig%3CTPointLightParams%3E" }, "TAbstractLightConfig": { "type": "object", "additionalProperties": false, "properties": { "tags": { "type": "array", "items": { "type": "string" } }, "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "color": { "type": "string" }, "shadow": { "$ref": "#/definitions/TLightShadowConfig" }, "type": { "$ref": "#/definitions/LightType" }, "intensity": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "distance": { "type": "number" }, "decay": { "type": "number" } }, "required": ["color", "name", "position", "type"] }, "TRectAreaLightConfig": { "$ref": "#/definitions/TAbstractLightConfig%3CTRectAreaLightParams%3E" }, "TAbstractLightConfig": { "type": "object", "additionalProperties": false, "properties": { "tags": { "type": "array", "items": { "type": "string" } }, "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "color": { "type": "string" }, "shadow": { "$ref": "#/definitions/TLightShadowConfig" }, "type": { "$ref": "#/definitions/LightType" }, "intensity": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["color", "height", "name", "position", "type", "width"] }, "TSpotLightConfig": { "$ref": "#/definitions/TAbstractLightConfig%3CTSpotLightParams%3E" }, "TAbstractLightConfig": { "type": "object", "additionalProperties": false, "properties": { "tags": { "type": "array", "items": { "type": "string" } }, "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "color": { "type": "string" }, "shadow": { "$ref": "#/definitions/TLightShadowConfig" }, "type": { "$ref": "#/definitions/LightType" }, "intensity": { "type": "number" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "distance": { "type": "number" }, "angle": { "type": "number" }, "penumbra": { "type": "number" }, "decay": { "type": "number" } }, "required": ["color", "name", "position", "type"] }, "TMaterialConfig": { "type": "object", "additionalProperties": false, "properties": { "options": { "$ref": "#/definitions/TMaterialConfigOptions" }, "textures": { "$ref": "#/definitions/TMaterialConfigTextures" }, "type": { "$ref": "#/definitions/MaterialType" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["name", "type"] }, "TMaterialConfigOptions": { "anyOf": [ { "$ref": "#/definitions/TBasicMaterialConfigOptions" }, { "$ref": "#/definitions/TDepthMaterialConfigOptions" }, { "$ref": "#/definitions/TDistanceMaterialConfigOptions" }, { "$ref": "#/definitions/TLambertMaterialConfigOptions" }, { "$ref": "#/definitions/TLineBasicMaterialConfigOptions" }, { "$ref": "#/definitions/TLineDashedMaterialConfigOptions" }, { "$ref": "#/definitions/TMatcapMaterialConfigOptions" }, { "$ref": "#/definitions/TNormalMaterialConfigOptions" }, { "$ref": "#/definitions/TPhongMaterialConfigOptions" }, { "$ref": "#/definitions/TPhysicalMaterialConfigOptions" }, { "$ref": "#/definitions/TPointsMaterialConfigOptions" }, { "$ref": "#/definitions/TShaderMaterialConfigOptions" }, { "$ref": "#/definitions/TShadowMaterialConfigOptions" }, { "$ref": "#/definitions/TSpriteMaterialConfigOptions" }, { "$ref": "#/definitions/TStandardMaterialConfigOptions" }, { "$ref": "#/definitions/TToonMaterialConfigOptions" } ] }, "TBasicMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "lightMapIntensity": { "type": "number", "default": 1 }, "aoMapIntensity": { "type": "number", "default": 1 }, "reflectivity": { "type": "number", "default": 1 }, "refractionRatio": { "type": "number", "default": 0.98 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "wireframeLinecap": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "wireframeLinejoin": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "BlendingDstFactorName": { "type": "string", "enum": [ "ConstantAlphaFactor", "ConstantColorFactor", "DstAlphaFactor", "DstColorFactor", "OneFactor", "OneMinusConstantAlphaFactor", "OneMinusConstantColorFactor", "OneMinusDstAlphaFactor", "OneMinusDstColorFactor", "OneMinusSrcAlphaFactor", "OneMinusSrcColorFactor", "SrcAlphaFactor", "SrcColorFactor", "ZeroFactor" ] }, "BlendEquationName": { "type": "string", "enum": ["AddEquation", "MaxEquation", "MinEquation", "ReverseSubtractEquation", "SubtractEquation"] }, "BlendingSrcFactorName": { "type": "string", "const": "SrcAlphaSaturateFactor" }, "BlendingName": { "type": "string", "enum": ["AdditiveBlending", "CustomBlending", "MultiplyBlending", "NoBlending", "NormalBlending", "SubtractiveBlending"] }, "CombineName": { "type": "string", "enum": ["AddOperation", "MixOperation", "MultiplyOperation"] }, "DepthPackingStrategiesName": { "type": "string", "enum": ["BasicDepthPacking", "RGBADepthPacking"] }, "NormalMapTypesName": { "type": "string", "enum": ["ObjectSpaceNormalMap", "TangentSpaceNormalMap"] }, "SideName": { "type": "string", "enum": ["BackSide", "DoubleSide", "FrontSide"] }, "StencilFailName": { "type": "string", "enum": ["DecrementStencilOp", "DecrementWrapStencilOp", "IncrementStencilOp", "IncrementWrapStencilOp", "InvertStencilOp", "KeepStencilOp", "ReplaceStencilOp", "ZeroStencilOp"] }, "StencilFuncName": { "type": "string", "enum": ["AlwaysStencilFunc", "EqualStencilFunc", "GreaterEqualStencilFunc", "GreaterStencilFunc", "LessEqualStencilFunc", "LessStencilFunc", "NeverStencilFunc", "NotEqualStencilFunc"] }, "StencilOpName": { "type": "string", "enum": ["DecrementStencilOp", "DecrementWrapStencilOp", "IncrementStencilOp", "IncrementWrapStencilOp", "InvertStencilOp", "KeepStencilOp", "ReplaceStencilOp", "ZeroStencilOp"] }, "ColorRepresentation": { "anyOf": [ { "$ref": "#/definitions/Color" }, { "type": "string" }, { "type": "number" } ] }, "Color": { "type": "object", "properties": { "isColor": { "type": "boolean", "const": true }, "r": { "type": "number", "default": 1 }, "g": { "type": "number", "default": 1 }, "b": { "type": "number", "default": 1 } }, "required": ["isColor", "r", "g", "b"], "additionalProperties": false }, "BlendingSrcFactor": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "number", "const": 210 } ] }, "BlendingDstFactor": { "type": "number", "enum": [200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 211, 212, 213, 214] }, "BlendingEquation": { "type": "number", "enum": [100, 101, 102, 103, 104] }, "DepthModes": { "type": "number", "enum": [0, 1, 2, 3, 4, 5, 6, 7] }, "Side": { "type": "number", "enum": [0, 1, 2] }, "TDepthMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TDistanceMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TLambertMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "lightMapIntensity": { "type": "number", "default": 1 }, "aoMapIntensity": { "type": "number", "default": 1 }, "emissive": { "$ref": "#/definitions/ColorRepresentation" }, "emissiveIntensity": { "type": "number", "default": 1 }, "bumpScale": { "type": "number", "default": 1 }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "reflectivity": { "type": "number", "default": 1 }, "refractionRatio": { "type": "number", "default": 0.98 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "wireframeLinecap": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "wireframeLinejoin": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "flatShading": { "type": "boolean", "default": false }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TLineBasicMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "linewidth": { "type": "number", "default": 1 }, "linecap": { "type": "string", "enum": ["butt", "round", "square"], "default": "round" }, "linejoin": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TLineDashedMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "scale": { "type": "number", "default": 1 }, "dashSize": { "type": "number", "default": 3 }, "gapSize": { "type": "number", "default": 1 }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "linewidth": { "type": "number", "default": 1 }, "linecap": { "type": "string", "enum": ["butt", "round", "square"], "default": "round" }, "linejoin": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TMatcapMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "bumpScale": { "type": "number", "default": 1 }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "flatShading": { "type": "boolean", "default": false }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TNormalMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "bumpScale": { "type": "number", "default": 1 }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "flatShading": { "type": "boolean", "default": false }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TPhongMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "specular": { "$ref": "#/definitions/ColorRepresentation" }, "shininess": { "type": "number", "default": 30 }, "lightMapIntensity": { "type": "number", "default": 1 }, "aoMapIntensity": { "type": "number", "default": 1 }, "emissive": { "$ref": "#/definitions/ColorRepresentation" }, "emissiveIntensity": { "type": "number", "default": 1 }, "bumpScale": { "type": "number", "default": 1 }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "reflectivity": { "type": "number", "default": 1 }, "refractionRatio": { "type": "number", "default": 0.98 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "wireframeLinecap": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "wireframeLinejoin": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "flatShading": { "type": "boolean", "default": false }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TPhysicalMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "anisotropyRotation": { "type": "number", "default": 1 }, "clearcoatRoughness": { "type": "number", "default": 0 }, "ior": { "type": "number", "default": 1.5 }, "iridescenceIOR": { "type": "number", "default": 1.3 }, "iridescenceThicknessRange": { "type": "array", "items": { "type": "number" }, "minItems": 2, "maxItems": 2, "default": [100, 400] }, "sheenColor": { "$ref": "#/definitions/ColorRepresentation" }, "sheenRoughness": { "type": "number", "default": 1 }, "thickness": { "type": "number", "default": 0 }, "attenuationDistance": { "type": "number", "default": null }, "attenuationColor": { "$ref": "#/definitions/ColorRepresentation" }, "specularIntensity": { "type": "number", "default": 1 }, "specularColor": { "$ref": "#/definitions/ColorRepresentation" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "roughness": { "type": "number", "default": 1 }, "metalness": { "type": "number", "default": 0 }, "lightMapIntensity": { "type": "number", "default": 1 }, "aoMapIntensity": { "type": "number", "default": 1 }, "emissive": { "$ref": "#/definitions/ColorRepresentation" }, "emissiveIntensity": { "type": "number", "default": 1 }, "bumpScale": { "type": "number", "default": 1 }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "envMapIntensity": { "type": "number", "default": 1 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "wireframeLinecap": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "wireframeLinejoin": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "flatShading": { "type": "boolean", "default": false }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true }, "reflectivity": { "type": "number" }, "anisotropy": { "type": "number" }, "clearcoat": { "type": "number" }, "iridescence": { "type": "number" }, "dispersion": { "type": "number" }, "sheen": { "type": "number" }, "transmission": { "type": "number" } } }, "TPointsMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "size": { "type": "number", "default": 1 }, "sizeAttenuation": { "type": "boolean", "default": true }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TShaderMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "uniforms": { "type": "object", "additionalProperties": { "$ref": "#/definitions/IUniform" } }, "vertexShader": { "type": "string" }, "fragmentShader": { "type": "string" }, "linewidth": { "type": "number", "default": 1 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "fog": { "type": "boolean", "default": false }, "lights": { "type": "boolean", "default": false }, "clipping": { "type": "boolean", "default": false }, "extensions": { "type": "object", "properties": { "clipCullDistance": { "type": "boolean" }, "multiDraw": { "type": "boolean" } }, "required": ["clipCullDistance", "multiDraw"], "additionalProperties": false }, "defaultAttributeValues": { "type": "object", "properties": { "color": { "type": "array", "items": { "type": "number" }, "minItems": 3, "maxItems": 3 }, "uv": { "type": "array", "items": { "type": "number" }, "minItems": 2, "maxItems": 2 }, "uv1": { "type": "array", "items": { "type": "number" }, "minItems": 2, "maxItems": 2 } }, "required": ["color", "uv", "uv1"], "additionalProperties": false }, "index0AttributeName": { "type": "string", "default": "undefined" }, "uniformsNeedUpdate": { "type": "boolean", "default": false }, "glslVersion": { "anyOf": [ { "$ref": "#/definitions/GLSLVersion" }, { "type": "null" } ], "default": null }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "IUniform": { "type": "object", "properties": { "value": {} }, "required": ["value"], "additionalProperties": false }, "GLSLVersion": { "type": "string", "enum": ["100", "300 es"] }, "TShadowMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TSpriteMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "rotation": { "type": "number", "default": 0 }, "sizeAttenuation": { "type": "boolean", "default": true }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TStandardMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "roughness": { "type": "number", "default": 1 }, "metalness": { "type": "number", "default": 0 }, "lightMapIntensity": { "type": "number", "default": 1 }, "aoMapIntensity": { "type": "number", "default": 1 }, "emissive": { "$ref": "#/definitions/ColorRepresentation" }, "emissiveIntensity": { "type": "number", "default": 1 }, "bumpScale": { "type": "number", "default": 1 }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "envMapIntensity": { "type": "number", "default": 1 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "wireframeLinecap": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "wireframeLinejoin": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "flatShading": { "type": "boolean", "default": false }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TToonMaterialConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "blendDst": { "$ref": "#/definitions/BlendingDstFactorName" }, "blendEquation": { "$ref": "#/definitions/BlendEquationName" }, "blendSrc": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactorName" }, { "$ref": "#/definitions/BlendingDstFactorName" } ] }, "blending": { "$ref": "#/definitions/BlendingName" }, "clearcoatNormalScale": { "$ref": "#/definitions/Vector2Like" }, "combine": { "$ref": "#/definitions/CombineName" }, "depthPacking": { "$ref": "#/definitions/DepthPackingStrategiesName" }, "envMapRotation": { "$ref": "#/definitions/TEulerLike" }, "normalMapType": { "$ref": "#/definitions/NormalMapTypesName" }, "normalScale": { "$ref": "#/definitions/Vector2Like" }, "side": { "$ref": "#/definitions/SideName" }, "stencilFail": { "$ref": "#/definitions/StencilFailName" }, "stencilFunc": { "$ref": "#/definitions/StencilFuncName" }, "stencilZFail": { "$ref": "#/definitions/StencilOpName" }, "stencilZPass": { "$ref": "#/definitions/StencilOpName" }, "color": { "$ref": "#/definitions/ColorRepresentation" }, "lightMapIntensity": { "type": "number", "default": 1 }, "aoMapIntensity": { "type": "number", "default": 1 }, "emissive": { "$ref": "#/definitions/ColorRepresentation" }, "emissiveIntensity": { "type": "number", "default": 1 }, "bumpScale": { "type": "number", "default": 1 }, "displacementScale": { "type": "number", "default": 0 }, "displacementBias": { "type": "number", "default": 0 }, "wireframe": { "type": "boolean", "default": false }, "wireframeLinewidth": { "type": "number", "default": 1 }, "wireframeLinecap": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "wireframeLinejoin": { "type": "string", "enum": ["round", "bevel", "miter"], "default": "round" }, "fog": { "type": "boolean", "default": true }, "vertexColors": { "type": "boolean", "default": false }, "opacity": { "type": "number", "default": 1 }, "transparent": { "type": "boolean", "default": false }, "alphaHash": { "type": "boolean", "default": false }, "blendSrcAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingSrcFactor" }, { "type": "null" } ], "default": null }, "blendDstAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingDstFactor" }, { "type": "null" } ], "default": null }, "blendEquationAlpha": { "anyOf": [ { "$ref": "#/definitions/BlendingEquation" }, { "type": "null" } ], "default": null }, "blendColor": { "$ref": "#/definitions/ColorRepresentation" }, "blendAlpha": { "type": "number", "default": 0 }, "depthFunc": { "$ref": "#/definitions/DepthModes", "default": "LessEqualDepth" }, "depthTest": { "type": "boolean", "default": true }, "depthWrite": { "type": "boolean", "default": true }, "stencilWriteMask": { "type": "number", "default": 255 }, "stencilRef": { "type": "number", "default": 0 }, "stencilFuncMask": { "type": "number", "default": 255 }, "stencilWrite": { "type": "boolean", "default": false }, "clipIntersection": { "type": "boolean", "default": false }, "clipShadows": { "type": "boolean", "default": false }, "shadowSide": { "anyOf": [ { "$ref": "#/definitions/Side" }, { "type": "null" } ], "default": null }, "colorWrite": { "type": "boolean", "default": true }, "precision": { "type": ["string", "null"], "enum": ["highp", "mediump", "lowp", null], "default": null }, "polygonOffset": { "type": "boolean", "default": false }, "polygonOffsetFactor": { "type": "number", "default": 0 }, "polygonOffsetUnits": { "type": "number", "default": 0 }, "dithering": { "type": "boolean", "default": false }, "alphaToCoverage": { "type": "boolean", "default": false }, "premultipliedAlpha": { "type": "boolean", "default": false }, "forceSinglePass": { "type": "boolean", "default": false }, "visible": { "type": "boolean", "default": true }, "toneMapped": { "type": "boolean", "default": true } } }, "TMaterialConfigTextures": { "anyOf": [ { "$ref": "#/definitions/TBasicMaterialConfigTextures" }, { "$ref": "#/definitions/TDepthMaterialConfigTextures" }, { "$ref": "#/definitions/TDistanceMaterialConfigTextures" }, { "$ref": "#/definitions/TNormalMaterialConfigTextures" }, { "$ref": "#/definitions/TMatcapMaterialConfigTextures" }, { "$ref": "#/definitions/TLambertMaterialConfigTextures" }, { "$ref": "#/definitions/TPhongMaterialConfigTextures" }, { "$ref": "#/definitions/TPhysicalMaterialConfigTextures" }, { "$ref": "#/definitions/TToonMaterialConfigTextures" }, { "$ref": "#/definitions/TStandardMaterialConfigTextures" }, { "$ref": "#/definitions/TPointsMaterialConfigTextures" } ] }, "TBasicMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "aoMap": { "type": "string" }, "specularMap": { "type": "string" }, "alphaMap": { "type": "string" }, "envMap": { "type": "string" }, "lightMap": { "type": "string" } }, "additionalProperties": false }, "TDepthMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "alphaMap": { "type": "string" }, "displacementMap": { "type": "string" } }, "additionalProperties": false }, "TDistanceMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "alphaMap": { "type": "string" } }, "additionalProperties": false }, "TNormalMaterialConfigTextures": { "type": "object", "properties": { "bumpMap": { "type": "string" }, "normalMap": { "type": "string" }, "displacementMap": { "type": "string" } }, "additionalProperties": false }, "TMatcapMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "matcap": { "type": "string" }, "bumpMap": { "type": "string" }, "normalMap": { "type": "string" }, "displacementMap": { "type": "string" }, "alphaMap": { "type": "string" } }, "additionalProperties": false }, "TLambertMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "bumpMap": { "type": "string" }, "displacementMap": { "type": "string" }, "emissiveMap": { "type": "string" }, "lightMap": { "type": "string" }, "normalMap": { "type": "string" }, "aoMap": { "type": "string" }, "specularMap": { "type": "string" }, "alphaMap": { "type": "string" }, "envMap": { "type": "string" } }, "additionalProperties": false }, "TPhongMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "lightMap": { "type": "string" }, "aoMap": { "type": "string" }, "emissiveMap": { "type": "string" }, "bumpMap": { "type": "string" }, "normalMap": { "type": "string" }, "displacementMap": { "type": "string" }, "specularMap": { "type": "string" }, "alphaMap": { "type": "string" }, "envMap": { "type": "string" } }, "additionalProperties": false }, "TPhysicalMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "lightMap": { "type": "string" }, "aoMap": { "type": "string" }, "emissiveMap": { "type": "string" }, "bumpMap": { "type": "string" }, "normalMap": { "type": "string" }, "displacementMap": { "type": "string" }, "roughnessMap": { "type": "string" }, "metalnessMap": { "type": "string" }, "alphaMap": { "type": "string" }, "envMap": { "type": "string" }, "clearcoatMap": { "type": "string" }, "clearcoatRoughnessMap": { "type": "string" }, "clearcoatNormalMap": { "type": "string" } }, "additionalProperties": false }, "TToonMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "gradientMap": { "type": "string" }, "lightMap": { "type": "string" }, "aoMap": { "type": "string" }, "emissiveMap": { "type": "string" }, "bumpMap": { "type": "string" }, "normalMap": { "type": "string" }, "displacementMap": { "type": "string" }, "alphaMap": { "type": "string" } }, "additionalProperties": false }, "TStandardMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "lightMap": { "type": "string" }, "aoMap": { "type": "string" }, "emissiveMap": { "type": "string" }, "bumpMap": { "type": "string" }, "normalMap": { "type": "string" }, "displacementMap": { "type": "string" }, "roughnessMap": { "type": "string" }, "metalnessMap": { "type": "string" }, "alphaMap": { "type": "string" }, "envMap": { "type": "string" } }, "additionalProperties": false }, "TPointsMaterialConfigTextures": { "type": "object", "properties": { "map": { "type": "string" }, "alphaMap": { "type": "string" } }, "additionalProperties": false }, "MaterialType": { "type": "string", "enum": [ "MeshBasicMaterial", "MeshDepthMaterial", "MeshDistanceMaterial", "MeshLambertMaterial", "MeshMatcapMaterial", "MeshNormalMaterial", "MeshPhongMaterial", "MeshPhysicalMaterial", "PointsMaterial", "MeshStandardMaterial", "MeshToonMaterial", "ShadowMaterial", "SpriteMaterial", "RawShaderMaterial", "ShaderMaterial", "LineDashedMaterial", "LineBasicMaterial" ] }, "TModel3dConfig": { "type": "object", "additionalProperties": false, "properties": { "position": { "$ref": "#/definitions/Vector3Like" }, "scale": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "model3dSource": { "anyOf": [ { "type": "string" }, { "$ref": "#/definitions/PrimitiveModel3dType" } ] }, "animationsSource": { "type": "array", "items": { "type": "string" } }, "animationsState": { "type": "array", "items": { "$ref": "#/definitions/TAnimationStateConfig" } }, "material": { "type": "string" }, "forceClone": { "type": "boolean" }, "options": { "$ref": "#/definitions/TModel3dOptions" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["model3dSource", "name"] }, "PrimitiveModel3dType": { "type": "string", "enum": ["cube", "plane", "sphere"] }, "TAnimationStateConfig": { "$ref": "#/definitions/TAnimationStateParams" }, "TAnimationStateParams": { "type": "object", "properties": { "name": { "type": "string" }, "time": { "type": "number" }, "weight": { "type": "number" }, "loop": { "$ref": "#/definitions/AnimationActionLoopStyles" }, "repetitions": { "type": "number" }, "clampWhenFinished": { "type": "boolean" }, "timeScale": { "type": "number" }, "enabled": { "type": "boolean" }, "paused": { "type": "boolean" } }, "required": ["name"], "additionalProperties": false }, "AnimationActionLoopStyles": { "type": "number", "enum": [2200, 2201, 2202] }, "TModel3dOptions": { "$ref": "#/definitions/TOptional%3CTPrimitiveModel3dParams%3E" }, "TOptional": { "type": "object", "properties": { "width": { "$ref": "#/definitions/TMeters" }, "height": { "$ref": "#/definitions/TMeters" }, "depth": { "$ref": "#/definitions/TMeters" }, "widthSegments": { "type": "number" }, "heightSegments": { "type": "number" }, "depthSegments": { "type": "number" }, "radius": { "$ref": "#/definitions/TMeters" }, "phiStart": { "type": "number" }, "phiLength": { "type": "number" }, "thetaStart": { "type": "number" }, "thetaLength": { "type": "number" } }, "additionalProperties": false }, "TRendererConfig": { "type": "object", "properties": { "alpha": { "type": "boolean" }, "premultipliedAlpha": { "type": "boolean" }, "antialias": { "type": "boolean" }, "stencil": { "type": "boolean" }, "preserveDrawingBuffer": { "type": "boolean" }, "powerPreference": { "type": "string", "enum": ["default", "high-performance", "low-power"] }, "depth": { "type": "boolean" }, "failIfMajorPerformanceCaveat": { "type": "boolean" }, "precision": { "type": "string" }, "logarithmicDepthBuffer": { "type": "boolean" }, "reversedDepthBuffer": { "type": "boolean" }, "mode": { "$ref": "#/definitions/RendererModes" }, "isShadowMapEnabled": { "type": "boolean" }, "maxPixelRatio": { "type": "number" }, "isActive": { "type": "boolean" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["mode", "isActive", "name"], "additionalProperties": false }, "RendererModes": { "type": "string", "enum": ["webgl", "webgl2"] }, "TParticlesConfig": { "type": "object", "additionalProperties": false, "properties": { "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "material": { "type": "string" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["material", "name", "position"] }, "TPhysicsConfig": { "type": "object", "properties": { "world": { "$ref": "#/definitions/TPhysicsWorldConfig" }, "bodies": { "type": "array", "items": { "$ref": "#/definitions/TPhysicsBodyConfig" } } }, "additionalProperties": false }, "TPhysicsWorldConfig": { "type": "object", "additionalProperties": false, "properties": { "gravity": { "$ref": "#/definitions/Vector3Like" }, "integrationParameters": { "$ref": "#/definitions/TPhysicsIntegrationParameters" } }, "required": ["gravity"] }, "TPhysicsIntegrationParameters": { "type": "object", "properties": { "dt": { "type": "number" }, "lengthUnit": { "type": "number" }, "normalizedAllowedLinearError": { "type": "number" }, "normalizedPredictionDistance": { "type": "number" }, "numSolverIterations": { "type": "number" }, "numAdditionalFrictionIterations": { "type": "number" }, "numInternalPgsIterations": { "type": "number" }, "minIslandSize": { "type": "number" }, "maxCcdSubsteps": { "type": "number" } }, "additionalProperties": false }, "TPhysicsBodyConfig": { "type": "object", "additionalProperties": false, "properties": { "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "$ref": "#/definitions/TEulerLike" }, "angularVelocity": { "$ref": "#/definitions/Vector3Like" }, "linearVelocity": { "$ref": "#/definitions/Vector3Like" }, "ccdEnabled": { "type": "boolean" }, "collisionGroups": { "type": "number" }, "collisionShape": { "$ref": "#/definitions/CollisionShape" }, "density": { "type": "number" }, "dominanceGroup": { "type": "number" }, "friction": { "type": "number" }, "gravityScale": { "type": "number" }, "isSensor": { "type": "boolean" }, "isSleep": { "type": "boolean" }, "mass": { "type": "number" }, "restitution": { "type": "number" }, "shapeParams": { "$ref": "#/definitions/TPhysicsShapeParams" }, "solverGroups": { "type": "number" }, "type": { "$ref": "#/definitions/RigidBodyTypesNames" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["collisionShape", "name", "position", "rotation", "shapeParams", "type"] }, "CollisionShape": { "type": "string", "enum": [ "ball", "cuboid", "capsule", "segment", "polyline", "triangle", "trimesh", "heightfield", "compound", "convexPolyhedron", "cylinder", "cone", "roundCuboid", "roundTriangle", "roundCylinder", "roundCone", "roundConvexPolyhedron", "halfSpace" ] }, "TPhysicsShapeParams": { "anyOf": [ { "$ref": "#/definitions/TPhysicsShapeBallParams" }, { "$ref": "#/definitions/TPhysicsShapeHalfSpaceParams" }, { "$ref": "#/definitions/TPhysicsShapeCuboidParams" }, { "$ref": "#/definitions/TPhysicsShapeRoundCuboidParams" }, { "$ref": "#/definitions/TPhysicsShapeCapsuleParams" }, { "$ref": "#/definitions/TPhysicsShapeRoundCapsuleParams" }, { "$ref": "#/definitions/TPhysicsShapeSegmentParams" }, { "$ref": "#/definitions/TPhysicsShapeTriangleParams" }, { "$ref": "#/definitions/TPhysicsShapeRoundTriangleParams" }, { "$ref": "#/definitions/TPhysicsShapePolylineParams" }, { "$ref": "#/definitions/TPhysicsShapeTriMeshParams" }, { "$ref": "#/definitions/TPhysicsShapeConvexPolyhedronParams" }, { "$ref": "#/definitions/TPhysicsShapeRoundConvexPolyhedronParams" }, { "$ref": "#/definitions/TPhysicsShapeHeightfieldParams" }, { "$ref": "#/definitions/TPhysicsShapeCylinderParams" }, { "$ref": "#/definitions/TPhysicsShapeRoundCylinderParams" }, { "$ref": "#/definitions/TPhysicsShapeConeParams" }, { "$ref": "#/definitions/TPhysicsShapeRoundConeParams" } ] }, "TPhysicsShapeBallParams": { "type": "object", "properties": { "radius": { "type": "number" } }, "additionalProperties": false }, "TPhysicsShapeHalfSpaceParams": { "type": "object", "properties": { "normal": { "$ref": "#/definitions/Vector" } }, "required": ["normal"], "additionalProperties": false }, "Vector": { "type": "object", "properties": { "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "required": ["x", "y", "z"], "additionalProperties": false }, "TPhysicsShapeCuboidParams": { "type": "object", "properties": { "hx": { "type": "number" }, "hy": { "type": "number" }, "hz": { "type": "number" } }, "required": ["hx", "hy", "hz"], "additionalProperties": false }, "TPhysicsShapeRoundCuboidParams": { "type": "object", "properties": { "hx": { "type": "number" }, "hy": { "type": "number" }, "hz": { "type": "number" }, "borderRadius": { "type": "number" } }, "required": ["hx", "hy", "hz", "borderRadius"], "additionalProperties": false }, "TPhysicsShapeCapsuleParams": { "type": "object", "properties": { "halfHeight": { "type": "number" }, "radius": { "type": "number" } }, "required": ["halfHeight", "radius"], "additionalProperties": false }, "TPhysicsShapeRoundCapsuleParams": { "type": "object", "properties": { "halfHeight": { "type": "number" }, "radius": { "type": "number" }, "borderRadius": { "type": "number" } }, "required": ["halfHeight", "radius", "borderRadius"], "additionalProperties": false }, "TPhysicsShapeSegmentParams": { "type": "object", "properties": { "a": { "$ref": "#/definitions/Vector" }, "b": { "$ref": "#/definitions/Vector" } }, "required": ["a", "b"], "additionalProperties": false }, "TPhysicsShapeTriangleParams": { "type": "object", "properties": { "a": { "$ref": "#/definitions/Vector" }, "b": { "$ref": "#/definitions/Vector" }, "c": { "$ref": "#/definitions/Vector" } }, "required": ["a", "b", "c"], "additionalProperties": false }, "TPhysicsShapeRoundTriangleParams": { "type": "object", "properties": { "a": { "$ref": "#/definitions/Vector" }, "b": { "$ref": "#/definitions/Vector" }, "c": { "$ref": "#/definitions/Vector" }, "borderRadius": { "type": "number" } }, "required": ["a", "b", "c", "borderRadius"], "additionalProperties": false }, "TPhysicsShapePolylineParams": { "type": "object", "properties": { "vertices": { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } }, "indices": { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } } }, "required": ["vertices"], "additionalProperties": false }, "TPhysicsShapeTriMeshParams": { "type": "object", "properties": { "vertices": { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } }, "indices": { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } }, "flags": { "$ref": "#/definitions/TriMeshFlags" } }, "required": ["vertices", "indices"], "additionalProperties": false }, "TriMeshFlags": { "type": "number", "enum": [4, 8, 16, 32, 64, 144] }, "TPhysicsShapeConvexPolyhedronParams": { "type": "object", "properties": { "vertices": { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } }, "indices": { "anyOf": [ { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } }, { "type": "null" } ] } }, "required": ["vertices"], "additionalProperties": false }, "TPhysicsShapeRoundConvexPolyhedronParams": { "type": "object", "properties": { "vertices": { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } }, "indices": { "anyOf": [ { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } }, { "type": "null" } ] }, "borderRadius": { "type": "number" } }, "required": ["vertices", "borderRadius"], "additionalProperties": false }, "TPhysicsShapeHeightfieldParams": { "type": "object", "properties": { "nrows": { "type": "number" }, "ncols": { "type": "number" }, "heights": { "type": "object", "properties": { "BYTES_PER_ELEMENT": { "type": "number" }, "buffer": { "type": "object", "properties": { "byteLength": { "type": "number" } }, "required": ["byteLength"], "additionalProperties": false }, "byteLength": { "type": "number" }, "byteOffset": { "type": "number" }, "length": { "type": "number" } }, "required": ["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length"], "additionalProperties": { "type": "number" } }, "scale": { "$ref": "#/definitions/Vector" }, "flags": { "$ref": "#/definitions/HeightFieldFlags" } }, "required": ["nrows", "ncols", "heights", "scale"], "additionalProperties": false }, "HeightFieldFlags": { "type": "number", "const": 1 }, "TPhysicsShapeCylinderParams": { "type": "object", "properties": { "halfHeight": { "type": "number" }, "radius": { "type": "number" } }, "required": ["halfHeight", "radius"], "additionalProperties": false }, "TPhysicsShapeRoundCylinderParams": { "type": "object", "properties": { "halfHeight": { "type": "number" }, "radius": { "type": "number" }, "borderRadius": { "type": "number" } }, "required": ["halfHeight", "radius", "borderRadius"], "additionalProperties": false }, "TPhysicsShapeConeParams": { "type": "object", "properties": { "halfHeight": { "type": "number" }, "radius": { "type": "number" } }, "required": ["halfHeight", "radius"], "additionalProperties": false }, "TPhysicsShapeRoundConeParams": { "type": "object", "properties": { "halfHeight": { "type": "number" }, "radius": { "type": "number" }, "borderRadius": { "type": "number" } }, "required": ["halfHeight", "radius", "borderRadius"], "additionalProperties": false }, "RigidBodyTypesNames": { "type": "string", "enum": ["dynamic", "fixed", "kinematicPositionBased", "kinematicVelocityBased"] }, "TFogConfig": { "type": "object", "additionalProperties": false, "properties": { "color": { "type": "string" }, "near": { "type": "number" }, "far": { "type": "number" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["color", "name"] }, "TFsmConfig": { "type": "object", "additionalProperties": false, "properties": { "transitions": { "type": "array", "items": { "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/TFsmStates" }, { "$ref": "#/definitions/TFsmEvents" } ] } } }, "type": { "anyOf": [ { "$ref": "#/definitions/FsmType" }, { "type": "string" } ] }, "initial": { "$ref": "#/definitions/TFsmStates" }, "currentState": { "$ref": "#/definitions/TFsmStates" }, "strategy": { "$ref": "#/definitions/FsmEventsStrategy" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["initial", "name", "transitions", "type"] }, "TFsmEvents": { "type": ["string", "number"] }, "FsmType": { "type": "string", "const": "Animation" }, "TTextConfig": { "type": "object", "additionalProperties": false, "properties": { "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" }, "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "center": { "$ref": "#/definitions/Vector2Like" }, "kinematic": { "$ref": "#/definitions/TKinematicConfig" }, "physicsBodyName": { "type": "string" }, "cssProps": { "$ref": "#/definitions/TTextCssProps" }, "elementType": { "type": "string" }, "text": { "type": "string" }, "textKey": { "type": "string" }, "type": { "$ref": "#/definitions/TextType" }, "agent": { "$ref": "#/definitions/TransformAgent" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["name", "position", "type"] }, "TTextCssProps": { "type": "object", "additionalProperties": false, "properties": { "textAlign": { "$ref": "#/definitions/TextAlign" }, "direction": { "$ref": "#/definitions/TextDirection" }, "overflowWrap": { "$ref": "#/definitions/TextOverflowWrap" }, "whiteSpace": { "$ref": "#/definitions/TextWhiteSpace" }, "fontStyle": { "$ref": "#/definitions/TextFontStyle" }, "fontWeight": { "$ref": "#/definitions/TextFontWeight" }, "accentColor": { "type": "string" }, "alignContent": { "type": "string" }, "alignItems": { "type": "string" }, "alignSelf": { "type": "string" }, "alignmentBaseline": { "type": "string" }, "all": { "type": "string" }, "animation": { "type": "string" }, "animationComposition": { "type": "string" }, "animationDelay": { "type": "string" }, "animationDirection": { "type": "string" }, "animationDuration": { "type": "string" }, "animationFillMode": { "type": "string" }, "animationIterationCount": { "type": "string" }, "animationName": { "type": "string" }, "animationPlayState": { "type": "string" }, "animationTimingFunction": { "type": "string" }, "appearance": { "type": "string" }, "aspectRatio": { "type": "string" }, "backdropFilter": { "type": "string" }, "backfaceVisibility": { "type": "string" }, "background": { "type": "string" }, "backgroundAttachment": { "type": "string" }, "backgroundBlendMode": { "type": "string" }, "backgroundClip": { "type": "string" }, "backgroundColor": { "type": "string" }, "backgroundImage": { "type": "string" }, "backgroundOrigin": { "type": "string" }, "backgroundPosition": { "type": "string" }, "backgroundPositionX": { "type": "string" }, "backgroundPositionY": { "type": "string" }, "backgroundRepeat": { "type": "string" }, "backgroundSize": { "type": "string" }, "baselineShift": { "type": "string" }, "blockSize": { "type": "string" }, "border": { "type": "string" }, "borderBlock": { "type": "string" }, "borderBlockColor": { "type": "string" }, "borderBlockEnd": { "type": "string" }, "borderBlockEndColor": { "type": "string" }, "borderBlockEndStyle": { "type": "string" }, "borderBlockEndWidth": { "type": "string" }, "borderBlockStart": { "type": "string" }, "borderBlockStartColor": { "type": "string" }, "borderBlockStartStyle": { "type": "string" }, "borderBlockStartWidth": { "type": "string" }, "borderBlockStyle": { "type": "string" }, "borderBlockWidth": { "type": "string" }, "borderBottom": { "type": "string" }, "borderBottomColor": { "type": "string" }, "borderBottomLeftRadius": { "type": "string" }, "borderBottomRightRadius": { "type": "string" }, "borderBottomStyle": { "type": "string" }, "borderBottomWidth": { "type": "string" }, "borderCollapse": { "type": "string" }, "borderColor": { "type": "string" }, "borderEndEndRadius": { "type": "string" }, "borderEndStartRadius": { "type": "string" }, "borderImage": { "type": "string" }, "borderImageOutset": { "type": "string" }, "borderImageRepeat": { "type": "string" }, "borderImageSlice": { "type": "string" }, "borderImageSource": { "type": "string" }, "borderImageWidth": { "type": "string" }, "borderInline": { "type": "string" }, "borderInlineColor": { "type": "string" }, "borderInlineEnd": { "type": "string" }, "borderInlineEndColor": { "type": "string" }, "borderInlineEndStyle": { "type": "string" }, "borderInlineEndWidth": { "type": "string" }, "borderInlineStart": { "type": "string" }, "borderInlineStartColor": { "type": "string" }, "borderInlineStartStyle": { "type": "string" }, "borderInlineStartWidth": { "type": "string" }, "borderInlineStyle": { "type": "string" }, "borderInlineWidth": { "type": "string" }, "borderLeft": { "type": "string" }, "borderLeftColor": { "type": "string" }, "borderLeftStyle": { "type": "string" }, "borderLeftWidth": { "type": "string" }, "borderRadius": { "type": "string" }, "borderRight": { "type": "string" }, "borderRightColor": { "type": "string" }, "borderRightStyle": { "type": "string" }, "borderRightWidth": { "type": "string" }, "borderSpacing": { "type": "string" }, "borderStartEndRadius": { "type": "string" }, "borderStartStartRadius": { "type": "string" }, "borderStyle": { "type": "string" }, "borderTop": { "type": "string" }, "borderTopColor": { "type": "string" }, "borderTopLeftRadius": { "type": "string" }, "borderTopRightRadius": { "type": "string" }, "borderTopStyle": { "type": "string" }, "borderTopWidth": { "type": "string" }, "borderWidth": { "type": "string" }, "bottom": { "type": "string" }, "boxShadow": { "type": "string" }, "boxSizing": { "type": "string" }, "breakAfter": { "type": "string" }, "breakBefore": { "type": "string" }, "breakInside": { "type": "string" }, "captionSide": { "type": "string" }, "caretColor": { "type": "string" }, "clear": { "type": "string" }, "clip": { "type": "string" }, "clipPath": { "type": "string" }, "clipRule": { "type": "string" }, "color": { "type": "string" }, "colorInterpolation": { "type": "string" }, "colorInterpolationFilters": { "type": "string" }, "colorScheme": { "type": "string" }, "columnCount": { "type": "string" }, "columnFill": { "type": "string" }, "columnGap": { "type": "string" }, "columnRule": { "type": "string" }, "columnRuleColor": { "type": "string" }, "columnRuleStyle": { "type": "string" }, "columnRuleWidth": { "type": "string" }, "columnSpan": { "type": "string" }, "columnWidth": { "type": "string" }, "columns": { "type": "string" }, "contain": { "type": "string" }, "containIntrinsicBlockSize": { "type": "string" }, "containIntrinsicHeight": { "type": "string" }, "containIntrinsicInlineSize": { "type": "string" }, "containIntrinsicSize": { "type": "string" }, "containIntrinsicWidth": { "type": "string" }, "container": { "type": "string" }, "containerName": { "type": "string" }, "containerType": { "type": "string" }, "content": { "type": "string" }, "counterIncrement": { "type": "string" }, "counterReset": { "type": "string" }, "counterSet": { "type": "string" }, "cssFloat": { "type": "string" }, "cssText": { "type": "string" }, "cursor": { "type": "string" }, "display": { "type": "string" }, "dominantBaseline": { "type": "string" }, "emptyCells": { "type": "string" }, "fill": { "type": "string" }, "fillOpacity": { "type": "string" }, "fillRule": { "type": "string" }, "filter": { "type": "string" }, "flex": { "type": "string" }, "flexBasis": { "type": "string" }, "flexDirection": { "type": "string" }, "flexFlow": { "type": "string" }, "flexGrow": { "type": "string" }, "flexShrink": { "type": "string" }, "flexWrap": { "type": "string" }, "float": { "type": "string" }, "floodColor": { "type": "string" }, "floodOpacity": { "type": "string" }, "font": { "type": "string" }, "fontFamily": { "type": "string" }, "fontFeatureSettings": { "type": "string" }, "fontKerning": { "type": "string" }, "fontOpticalSizing": { "type": "string" }, "fontPalette": { "type": "string" }, "fontSize": { "type": "string" }, "fontSizeAdjust": { "type": "string" }, "fontStretch": { "type": "string" }, "fontSynthesis": { "type": "string" }, "fontSynthesisSmallCaps": { "type": "string" }, "fontSynthesisStyle": { "type": "string" }, "fontSynthesisWeight": { "type": "string" }, "fontVariant": { "type": "string" }, "fontVariantAlternates": { "type": "string" }, "fontVariantCaps": { "type": "string" }, "fontVariantEastAsian": { "type": "string" }, "fontVariantLigatures": { "type": "string" }, "fontVariantNumeric": { "type": "string" }, "fontVariantPosition": { "type": "string" }, "fontVariationSettings": { "type": "string" }, "forcedColorAdjust": { "type": "string" }, "gap": { "type": "string" }, "grid": { "type": "string" }, "gridArea": { "type": "string" }, "gridAutoColumns": { "type": "string" }, "gridAutoFlow": { "type": "string" }, "gridAutoRows": { "type": "string" }, "gridColumn": { "type": "string" }, "gridColumnEnd": { "type": "string" }, "gridColumnGap": { "type": "string" }, "gridColumnStart": { "type": "string" }, "gridGap": { "type": "string" }, "gridRow": { "type": "string" }, "gridRowEnd": { "type": "string" }, "gridRowGap": { "type": "string" }, "gridRowStart": { "type": "string" }, "gridTemplate": { "type": "string" }, "gridTemplateAreas": { "type": "string" }, "gridTemplateColumns": { "type": "string" }, "gridTemplateRows": { "type": "string" }, "height": { "type": "string" }, "hyphenateCharacter": { "type": "string" }, "hyphens": { "type": "string" }, "imageOrientation": { "type": "string" }, "imageRendering": { "type": "string" }, "inlineSize": { "type": "string" }, "inset": { "type": "string" }, "insetBlock": { "type": "string" }, "insetBlockEnd": { "type": "string" }, "insetBlockStart": { "type": "string" }, "insetInline": { "type": "string" }, "insetInlineEnd": { "type": "string" }, "insetInlineStart": { "type": "string" }, "isolation": { "type": "string" }, "justifyContent": { "type": "string" }, "justifyItems": { "type": "string" }, "justifySelf": { "type": "string" }, "left": { "type": "string" }, "length": { "type": "string" }, "letterSpacing": { "type": "string" }, "lightingColor": { "type": "string" }, "lineBreak": { "type": "string" }, "lineHeight": { "type": "string" }, "listStyle": { "type": "string" }, "listStyleImage": { "type": "string" }, "listStylePosition": { "type": "string" }, "listStyleType": { "type": "string" }, "margin": { "type": "string" }, "marginBlock": { "type": "string" }, "marginBlockEnd": { "type": "string" }, "marginBlockStart": { "type": "string" }, "marginBottom": { "type": "string" }, "marginInline": { "type": "string" }, "marginInlineEnd": { "type": "string" }, "marginInlineStart": { "type": "string" }, "marginLeft": { "type": "string" }, "marginRight": { "type": "string" }, "marginTop": { "type": "string" }, "marker": { "type": "string" }, "markerEnd": { "type": "string" }, "markerMid": { "type": "string" }, "markerStart": { "type": "string" }, "mask": { "type": "string" }, "maskClip": { "type": "string" }, "maskComposite": { "type": "string" }, "maskImage": { "type": "string" }, "maskMode": { "type": "string" }, "maskOrigin": { "type": "string" }, "maskPosition": { "type": "string" }, "maskRepeat": { "type": "string" }, "maskSize": { "type": "string" }, "maskType": { "type": "string" }, "mathStyle": { "type": "string" }, "maxBlockSize": { "type": "string" }, "maxHeight": { "type": "string" }, "maxInlineSize": { "type": "string" }, "maxWidth": { "type": "string" }, "minBlockSize": { "type": "string" }, "minHeight": { "type": "string" }, "minInlineSize": { "type": "string" }, "minWidth": { "type": "string" }, "mixBlendMode": { "type": "string" }, "objectFit": { "type": "string" }, "objectPosition": { "type": "string" }, "offset": { "type": "string" }, "offsetDistance": { "type": "string" }, "offsetPath": { "type": "string" }, "offsetRotate": { "type": "string" }, "opacity": { "type": "string" }, "order": { "type": "string" }, "orphans": { "type": "string" }, "outline": { "type": "string" }, "outlineColor": { "type": "string" }, "outlineOffset": { "type": "string" }, "outlineStyle": { "type": "string" }, "outlineWidth": { "type": "string" }, "overflow": { "type": "string" }, "overflowAnchor": { "type": "string" }, "overflowClipMargin": { "type": "string" }, "overflowX": { "type": "string" }, "overflowY": { "type": "string" }, "overscrollBehavior": { "type": "string" }, "overscrollBehaviorBlock": { "type": "string" }, "overscrollBehaviorInline": { "type": "string" }, "overscrollBehaviorX": { "type": "string" }, "overscrollBehaviorY": { "type": "string" }, "padding": { "type": "string" }, "paddingBlock": { "type": "string" }, "paddingBlockEnd": { "type": "string" }, "paddingBlockStart": { "type": "string" }, "paddingBottom": { "type": "string" }, "paddingInline": { "type": "string" }, "paddingInlineEnd": { "type": "string" }, "paddingInlineStart": { "type": "string" }, "paddingLeft": { "type": "string" }, "paddingRight": { "type": "string" }, "paddingTop": { "type": "string" }, "page": { "type": "string" }, "pageBreakAfter": { "type": "string" }, "pageBreakBefore": { "type": "string" }, "pageBreakInside": { "type": "string" }, "paintOrder": { "type": "string" }, "perspective": { "type": "string" }, "perspectiveOrigin": { "type": "string" }, "placeContent": { "type": "string" }, "placeItems": { "type": "string" }, "placeSelf": { "type": "string" }, "pointerEvents": { "type": "string" }, "position": { "type": "string" }, "printColorAdjust": { "type": "string" }, "quotes": { "type": "string" }, "resize": { "type": "string" }, "right": { "type": "string" }, "rotate": { "type": "string" }, "rowGap": { "type": "string" }, "rubyPosition": { "type": "string" }, "scale": { "type": "string" }, "scrollBehavior": { "type": "string" }, "scrollMargin": { "type": "string" }, "scrollMarginBlock": { "type": "string" }, "scrollMarginBlockEnd": { "type": "string" }, "scrollMarginBlockStart": { "type": "string" }, "scrollMarginBottom": { "type": "string" }, "scrollMarginInline": { "type": "string" }, "scrollMarginInlineEnd": { "type": "string" }, "scrollMarginInlineStart": { "type": "string" }, "scrollMarginLeft": { "type": "string" }, "scrollMarginRight": { "type": "string" }, "scrollMarginTop": { "type": "string" }, "scrollPadding": { "type": "string" }, "scrollPaddingBlock": { "type": "string" }, "scrollPaddingBlockEnd": { "type": "string" }, "scrollPaddingBlockStart": { "type": "string" }, "scrollPaddingBottom": { "type": "string" }, "scrollPaddingInline": { "type": "string" }, "scrollPaddingInlineEnd": { "type": "string" }, "scrollPaddingInlineStart": { "type": "string" }, "scrollPaddingLeft": { "type": "string" }, "scrollPaddingRight": { "type": "string" }, "scrollPaddingTop": { "type": "string" }, "scrollSnapAlign": { "type": "string" }, "scrollSnapStop": { "type": "string" }, "scrollSnapType": { "type": "string" }, "scrollbarGutter": { "type": "string" }, "shapeImageThreshold": { "type": "string" }, "shapeMargin": { "type": "string" }, "shapeOutside": { "type": "string" }, "shapeRendering": { "type": "string" }, "stopColor": { "type": "string" }, "stopOpacity": { "type": "string" }, "stroke": { "type": "string" }, "strokeDasharray": { "type": "string" }, "strokeDashoffset": { "type": "string" }, "strokeLinecap": { "type": "string" }, "strokeLinejoin": { "type": "string" }, "strokeMiterlimit": { "type": "string" }, "strokeOpacity": { "type": "string" }, "strokeWidth": { "type": "string" }, "tabSize": { "type": "string" }, "tableLayout": { "type": "string" }, "textAlignLast": { "type": "string" }, "textAnchor": { "type": "string" }, "textCombineUpright": { "type": "string" }, "textDecoration": { "type": "string" }, "textDecorationColor": { "type": "string" }, "textDecorationLine": { "type": "string" }, "textDecorationSkipInk": { "type": "string" }, "textDecorationStyle": { "type": "string" }, "textDecorationThickness": { "type": "string" }, "textEmphasis": { "type": "string" }, "textEmphasisColor": { "type": "string" }, "textEmphasisPosition": { "type": "string" }, "textEmphasisStyle": { "type": "string" }, "textIndent": { "type": "string" }, "textOrientation": { "type": "string" }, "textOverflow": { "type": "string" }, "textRendering": { "type": "string" }, "textShadow": { "type": "string" }, "textTransform": { "type": "string" }, "textUnderlineOffset": { "type": "string" }, "textUnderlinePosition": { "type": "string" }, "top": { "type": "string" }, "touchAction": { "type": "string" }, "transform": { "type": "string" }, "transformBox": { "type": "string" }, "transformOrigin": { "type": "string" }, "transformStyle": { "type": "string" }, "transition": { "type": "string" }, "transitionDelay": { "type": "string" }, "transitionDuration": { "type": "string" }, "transitionProperty": { "type": "string" }, "transitionTimingFunction": { "type": "string" }, "translate": { "type": "string" }, "unicodeBidi": { "type": "string" }, "userSelect": { "type": "string" }, "verticalAlign": { "type": "string" }, "visibility": { "type": "string" }, "webkitAlignContent": { "type": "string" }, "webkitAlignItems": { "type": "string" }, "webkitAlignSelf": { "type": "string" }, "webkitAnimation": { "type": "string" }, "webkitAnimationDelay": { "type": "string" }, "webkitAnimationDirection": { "type": "string" }, "webkitAnimationDuration": { "type": "string" }, "webkitAnimationFillMode": { "type": "string" }, "webkitAnimationIterationCount": { "type": "string" }, "webkitAnimationName": { "type": "string" }, "webkitAnimationPlayState": { "type": "string" }, "webkitAnimationTimingFunction": { "type": "string" }, "webkitAppearance": { "type": "string" }, "webkitBackfaceVisibility": { "type": "string" }, "webkitBackgroundClip": { "type": "string" }, "webkitBackgroundOrigin": { "type": "string" }, "webkitBackgroundSize": { "type": "string" }, "webkitBorderBottomLeftRadius": { "type": "string" }, "webkitBorderBottomRightRadius": { "type": "string" }, "webkitBorderRadius": { "type": "string" }, "webkitBorderTopLeftRadius": { "type": "string" }, "webkitBorderTopRightRadius": { "type": "string" }, "webkitBoxAlign": { "type": "string" }, "webkitBoxFlex": { "type": "string" }, "webkitBoxOrdinalGroup": { "type": "string" }, "webkitBoxOrient": { "type": "string" }, "webkitBoxPack": { "type": "string" }, "webkitBoxShadow": { "type": "string" }, "webkitBoxSizing": { "type": "string" }, "webkitFilter": { "type": "string" }, "webkitFlex": { "type": "string" }, "webkitFlexBasis": { "type": "string" }, "webkitFlexDirection": { "type": "string" }, "webkitFlexFlow": { "type": "string" }, "webkitFlexGrow": { "type": "string" }, "webkitFlexShrink": { "type": "string" }, "webkitFlexWrap": { "type": "string" }, "webkitJustifyContent": { "type": "string" }, "webkitLineClamp": { "type": "string" }, "webkitMask": { "type": "string" }, "webkitMaskBoxImage": { "type": "string" }, "webkitMaskBoxImageOutset": { "type": "string" }, "webkitMaskBoxImageRepeat": { "type": "string" }, "webkitMaskBoxImageSlice": { "type": "string" }, "webkitMaskBoxImageSource": { "type": "string" }, "webkitMaskBoxImageWidth": { "type": "string" }, "webkitMaskClip": { "type": "string" }, "webkitMaskComposite": { "type": "string" }, "webkitMaskImage": { "type": "string" }, "webkitMaskOrigin": { "type": "string" }, "webkitMaskPosition": { "type": "string" }, "webkitMaskRepeat": { "type": "string" }, "webkitMaskSize": { "type": "string" }, "webkitOrder": { "type": "string" }, "webkitPerspective": { "type": "string" }, "webkitPerspectiveOrigin": { "type": "string" }, "webkitTextFillColor": { "type": "string" }, "webkitTextSizeAdjust": { "type": "string" }, "webkitTextStroke": { "type": "string" }, "webkitTextStrokeColor": { "type": "string" }, "webkitTextStrokeWidth": { "type": "string" }, "webkitTransform": { "type": "string" }, "webkitTransformOrigin": { "type": "string" }, "webkitTransformStyle": { "type": "string" }, "webkitTransition": { "type": "string" }, "webkitTransitionDelay": { "type": "string" }, "webkitTransitionDuration": { "type": "string" }, "webkitTransitionProperty": { "type": "string" }, "webkitTransitionTimingFunction": { "type": "string" }, "webkitUserSelect": { "type": "string" }, "widows": { "type": "string" }, "width": { "type": "string" }, "willChange": { "type": "string" }, "wordBreak": { "type": "string" }, "wordSpacing": { "type": "string" }, "wordWrap": { "type": "string" }, "writingMode": { "type": "string" }, "zIndex": { "type": "string" } } }, "TextAlign": { "type": "string", "enum": ["center", "justify", "left", "right"] }, "TextDirection": { "type": "string", "enum": ["auto", "ltr", "rtl"] }, "TextOverflowWrap": { "type": "string", "enum": ["break-word", "normal"] }, "TextWhiteSpace": { "type": "string", "enum": ["normal", "nowrap"] }, "TextFontStyle": { "type": "string", "enum": ["italic", "normal"] }, "TextFontWeight": { "type": "string", "enum": ["bold", "normal"] }, "TextType": { "type": "string", "enum": ["text_2d", "text_3d", "text_3d_texture"] }, "TControlsConfig": { "anyOf": [ { "$ref": "#/definitions/TOrbitControlsConfig" }, { "$ref": "#/definitions/TFpsControlsConfig" } ] }, "TOrbitControlsConfig": { "type": "object", "additionalProperties": false, "properties": { "options": { "$ref": "#/definitions/TOrbitControlsConfigOptions" }, "cameraName": { "type": "string" }, "target": { "$ref": "#/definitions/Vector3Like" }, "cursor": { "$ref": "#/definitions/Vector3Like" }, "type": { "$ref": "#/definitions/ControlsType" }, "enabled": { "type": "boolean" }, "name": { "type": "string" }, "isActive": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["cameraName", "isActive", "name", "type"] }, "TOrbitControlsConfigOptions": { "type": "object", "additionalProperties": false, "properties": { "target": { "$ref": "#/definitions/Vector3Like" }, "cursor": { "$ref": "#/definitions/Vector3Like" }, "autoRotate": { "type": "boolean" }, "autoRotateSpeed": { "type": "number" }, "dampingFactor": { "type": "number" }, "enableDamping": { "type": "boolean" }, "enablePan": { "type": "boolean" }, "enableRotate": { "type": "boolean" }, "enableZoom": { "type": "boolean" }, "keyPanSpeed": { "type": "number" }, "maxAzimuthAngle": { "type": "number" }, "maxDistance": { "type": "number" }, "maxPolarAngle": { "type": "number" }, "maxTargetRadius": { "type": "number" }, "maxZoom": { "type": "number" }, "minAzimuthAngle": { "type": "number" }, "minDistance": { "type": "number" }, "minPolarAngle": { "type": "number" }, "minTargetRadius": { "type": "number" }, "minZoom": { "type": "number" }, "panSpeed": { "type": "number" }, "rotateSpeed": { "type": "number" }, "screenSpacePanning": { "type": "boolean" }, "zoomSpeed": { "type": "number" }, "zoomToCursor": { "type": "boolean" } } }, "ControlsType": { "type": "string", "enum": ["OrbitControls", "FirstPersonControls"] }, "TFpsControlsConfig": { "type": "object", "additionalProperties": false, "properties": { "options": { "$ref": "#/definitions/TFpsControlsParamsOptions" }, "cameraName": { "type": "string" }, "type": { "$ref": "#/definitions/ControlsType" }, "enabled": { "type": "boolean" }, "name": { "type": "string" }, "isActive": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["cameraName", "isActive", "name", "type"] }, "TFpsControlsParamsOptions": { "type": "object", "properties": { "movementSpeed": { "type": "number" }, "lookSpeed": { "type": "number" }, "lookVertical": { "type": "boolean" }, "autoForward": { "type": "boolean" }, "activeLook": { "type": "boolean" }, "heightSpeed": { "type": "boolean" }, "heightCoef": { "type": "number" }, "heightMin": { "type": "number" }, "heightMax": { "type": "number" }, "constrainVertical": { "type": "boolean" }, "verticalMin": { "type": "number" }, "verticalMax": { "type": "number" }, "mouseDragOn": { "type": "boolean" } }, "additionalProperties": false }, "TSpaceConfigResources": { "type": "object", "properties": { "animations": { "type": "array", "items": { "$ref": "#/definitions/TAnimationsResourceConfig" } }, "audio": { "type": "array", "items": { "$ref": "#/definitions/TAudioResourceConfig" } }, "envMaps": { "type": "array", "items": { "$ref": "#/definitions/TEnvMapResourceConfig" } }, "models3d": { "type": "array", "items": { "$ref": "#/definitions/TModel3dResourceConfig" } }, "textures": { "type": "array", "items": { "$ref": "#/definitions/TTextureResourceConfig" } } }, "required": ["animations", "audio", "envMaps", "models3d", "textures"], "additionalProperties": false }, "TAnimationsResourceConfig": { "$ref": "#/definitions/TAbstractResourceConfig" }, "TAbstractResourceConfig": { "type": "object", "additionalProperties": false, "properties": { "tags": { "type": "array", "items": { "type": "string" } }, "name": { "type": "string" }, "url": { "type": "string" }, "isForce": { "type": "boolean" }, "options": { "type": "object" } }, "required": ["name", "url"] }, "TAudioResourceConfig": { "$ref": "#/definitions/TAbstractResourceConfig" }, "TEnvMapResourceConfig": { "type": "object", "additionalProperties": false, "properties": { "options": { "$ref": "#/definitions/TEnvMapTextureOptions" }, "url": { "type": "string" }, "isForce": { "type": "boolean" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["name", "url"] }, "TEnvMapTextureOptions": { "type": "object", "properties": { "mapping": { "$ref": "#/definitions/EnvMapMappingTypesName" } }, "additionalProperties": false }, "EnvMapMappingTypesName": { "type": "string", "enum": ["UVMapping", "CubeReflectionMapping", "CubeRefractionMapping", "CubeUVReflectionMapping", "EquirectangularReflectionMapping", "EquirectangularRefractionMapping"] }, "TModel3dResourceConfig": { "type": "object", "additionalProperties": false, "properties": { "options": { "$ref": "#/definitions/TOptional%3CTObject3DPropConfig%3E" }, "url": { "type": "string" }, "isForce": { "type": "boolean" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["name", "url"] }, "TOptional": { "type": "object", "properties": { "visible": { "type": "boolean" }, "castShadow": { "type": "boolean" }, "receiveShadow": { "type": "boolean" }, "layers": { "type": "number" }, "frustumCulled": { "type": "boolean" }, "renderOrder": { "type": "number" }, "position": { "$ref": "#/definitions/Vector3Like" }, "rotation": { "anyOf": [ { "$ref": "#/definitions/TEulerLike" }, { "$ref": "#/definitions/QuaternionLike" } ] }, "scale": { "$ref": "#/definitions/Vector3Like" } }, "additionalProperties": false }, "TTextureResourceConfig": { "type": "object", "additionalProperties": false, "properties": { "options": { "$ref": "#/definitions/TTextureOptions" }, "url": { "type": "string" }, "isForce": { "type": "boolean" }, "name": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["name", "url"] }, "TTextureOptions": { "type": "object", "properties": { "mapping": { "$ref": "#/definitions/Mapping" }, "wrapS": { "$ref": "#/definitions/Wrapping" }, "wrapT": { "$ref": "#/definitions/Wrapping" }, "magFilter": { "$ref": "#/definitions/MagnificationTextureFilter" }, "minFilter": { "$ref": "#/definitions/MinificationTextureFilter" }, "format": { "$ref": "#/definitions/PixelFormat" }, "type": { "$ref": "#/definitions/TextureDataType" }, "anisotropy": { "type": "number" }, "colorSpace": { "$ref": "#/definitions/ColorSpace" } }, "additionalProperties": false }, "Mapping": { "type": "number", "enum": [300, 303, 304] }, "Wrapping": { "type": "number", "enum": [1000, 1001, 1002] }, "MagnificationTextureFilter": { "type": "number", "enum": [1003, 1006] }, "MinificationTextureFilter": { "type": "number", "enum": [1003, 1004, 1005, 1006, 1007, 1008] }, "PixelFormat": { "type": "number", "enum": [1021, 1022, 1023, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033] }, "TextureDataType": { "type": "number", "enum": [1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1020, 35902, 35899] }, "ColorSpace": { "type": "string", "enum": ["", "srgb", "srgb-linear"] }, "SpaceSchemaVersion": { "type": "string", "enum": ["1.0.0", "2.0.0"] } } } ; export default _default;