The CameraManagerJSONInterface is the result of a {CameraManagerInterface.toJSON}.
The CameraManagerJSONInterface follows the following schema definition.
{ "$defs": { "camera": { "additionalProperties": false, "description": "Define the values of a Camera", "properties": { "coi": { "$ref": "#/$defs/vec3" }, "dvector": { "$ref": "#/$defs/vec3" }, "frontdir": { "$ref": "#/$defs/vec3" }, "location": { "$ref": "#/$defs/vec3" }, "projection": { "$ref": "#/$defs/cameraprojection" }, "rvector": { "$ref": "#/$defs/vec3" }, "topdir": { "$ref": "#/$defs/vec3" }, "uvector": { "$ref": "#/$defs/vec3" } }, "required": [ "location", "dvector", "uvector", "rvector", "coi", "frontdir", "topdir", "projection" ], "title": "Camera definition", "type": "object" }, "cameracontroller": { "additionalProperties": false, "description": "Define the values of a Camera controller", "properties": { "camera": { "$ref": "#/$defs/camera" }, "currentcameramode": { "$ref": "#/$defs/cameramode" }, "fly": { "$ref": "#/$defs/flymode" }, "orbit": { "$ref": "#/$defs/orbitmode" }, "version": { "description": "Define the version of the object", "example": 1, "type": "integer" } }, "required": [], "title": "Camera controller definition", "type": "object" }, "cameramode": { "enum": [ "orbit", "examine", "none", "fly" ], "type": "string" }, "cameraprojection": { "additionalProperties": false, "properties": { "horizontal": { "type": "boolean" }, "isperspective": { "type": "boolean" }, "projectionvalue": { "exclusiveMinimum": 0, "type": "number" } }, "required": [ "isperspective", "projectionvalue" ], "title": "Camera projection definition", "type": "object" }, "flymode": { "additionalProperties": false, "properties": { "heightlocked": { "type": "boolean" }, "keymapping": { "$ref": "#/$defs/flymode_keymapping" }, "rotationspeed": { "exclusiveMinimum": 0, "type": "number" }, "translationspeed": { "exclusiveMinimum": 0, "type": "number" } }, "required": [], "title": "Fly mode definition", "type": "object" }, "flymode_keymapping": { "additionalProperties": false, "properties": { "backward": { "default": "KeyS", "type": "string" }, "down": { "default": "KeyF", "type": "string" }, "forward": { "default": "KeyW", "type": "string" }, "left": { "default": "KeyA", "type": "string" }, "right": { "default": "KeyD", "type": "string" }, "shift": { "default": "ShiftLeft", "type": "string" }, "up": { "default": "KeyR", "type": "string" }, "version": { "description": "Define the version of the object", "example": 1, "type": "integer" } }, "required": [], "title": "Fly mode key mapping definition", "type": "object" }, "orbitmode": { "additionalProperties": false, "properties": { "controllersensitivity": { "exclusiveMinimum": 0, "type": "number" }, "upconstraint": { "type": "boolean" } }, "required": [], "title": "Orbit mode definition", "type": "object" }, "vec3": { "description": "Define the coordinates [x,y,z] of a point / vector", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "title": "3D Vector definition", "type": "array" } }, "$ref": "#/$defs/cameracontroller", "$schema": "https://json-schema.org/draft-07/schema#"} Copy
{ "$defs": { "camera": { "additionalProperties": false, "description": "Define the values of a Camera", "properties": { "coi": { "$ref": "#/$defs/vec3" }, "dvector": { "$ref": "#/$defs/vec3" }, "frontdir": { "$ref": "#/$defs/vec3" }, "location": { "$ref": "#/$defs/vec3" }, "projection": { "$ref": "#/$defs/cameraprojection" }, "rvector": { "$ref": "#/$defs/vec3" }, "topdir": { "$ref": "#/$defs/vec3" }, "uvector": { "$ref": "#/$defs/vec3" } }, "required": [ "location", "dvector", "uvector", "rvector", "coi", "frontdir", "topdir", "projection" ], "title": "Camera definition", "type": "object" }, "cameracontroller": { "additionalProperties": false, "description": "Define the values of a Camera controller", "properties": { "camera": { "$ref": "#/$defs/camera" }, "currentcameramode": { "$ref": "#/$defs/cameramode" }, "fly": { "$ref": "#/$defs/flymode" }, "orbit": { "$ref": "#/$defs/orbitmode" }, "version": { "description": "Define the version of the object", "example": 1, "type": "integer" } }, "required": [], "title": "Camera controller definition", "type": "object" }, "cameramode": { "enum": [ "orbit", "examine", "none", "fly" ], "type": "string" }, "cameraprojection": { "additionalProperties": false, "properties": { "horizontal": { "type": "boolean" }, "isperspective": { "type": "boolean" }, "projectionvalue": { "exclusiveMinimum": 0, "type": "number" } }, "required": [ "isperspective", "projectionvalue" ], "title": "Camera projection definition", "type": "object" }, "flymode": { "additionalProperties": false, "properties": { "heightlocked": { "type": "boolean" }, "keymapping": { "$ref": "#/$defs/flymode_keymapping" }, "rotationspeed": { "exclusiveMinimum": 0, "type": "number" }, "translationspeed": { "exclusiveMinimum": 0, "type": "number" } }, "required": [], "title": "Fly mode definition", "type": "object" }, "flymode_keymapping": { "additionalProperties": false, "properties": { "backward": { "default": "KeyS", "type": "string" }, "down": { "default": "KeyF", "type": "string" }, "forward": { "default": "KeyW", "type": "string" }, "left": { "default": "KeyA", "type": "string" }, "right": { "default": "KeyD", "type": "string" }, "shift": { "default": "ShiftLeft", "type": "string" }, "up": { "default": "KeyR", "type": "string" }, "version": { "description": "Define the version of the object", "example": 1, "type": "integer" } }, "required": [], "title": "Fly mode key mapping definition", "type": "object" }, "orbitmode": { "additionalProperties": false, "properties": { "controllersensitivity": { "exclusiveMinimum": 0, "type": "number" }, "upconstraint": { "type": "boolean" } }, "required": [], "title": "Orbit mode definition", "type": "object" }, "vec3": { "description": "Define the coordinates [x,y,z] of a point / vector", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "title": "3D Vector definition", "type": "array" } }, "$ref": "#/$defs/cameracontroller", "$schema": "https://json-schema.org/draft-07/schema#"}
The CameraManagerJSONInterface is the result of a {CameraManagerInterface.toJSON}.
The CameraManagerJSONInterface follows the following schema definition.
This schema may evolve in the future.