Updated Schemas

This commit is contained in:
Ben C 2023-08-23 16:40:02 +00:00
parent 89480333c8
commit f1292cbfe9

View File

@ -1056,6 +1056,10 @@
"type": "boolean", "type": "boolean",
"description": "Should the body always have one side facing its primary?" "description": "Should the body always have one side facing its primary?"
}, },
"isStatic": {
"type": "boolean",
"description": "Is the body meant to stay in one place without moving? If staticPosition is not set, the initial position\nwill be determined using its orbital parameters."
},
"alignmentAxis": { "alignmentAxis": {
"description": "If it is tidally locked, this direction will face towards the primary. Ex: Interloper uses `0, -1, 0`. Most planets\nwill want something like `-1, 0, 0`.", "description": "If it is tidally locked, this direction will face towards the primary. Ex: Interloper uses `0, -1, 0`. Most planets\nwill want something like `-1, 0, 0`.",
"$ref": "#/definitions/MVector3" "$ref": "#/definitions/MVector3"
@ -1069,10 +1073,6 @@
"type": "boolean", "type": "boolean",
"description": "Should the orbit line be dotted?" "description": "Should the orbit line be dotted?"
}, },
"isStatic": {
"type": "boolean",
"description": "Is the body meant to stay in one place without moving? If staticPosition is not set, the initial position\nwill be determined using its orbital parameters."
},
"tint": { "tint": {
"description": "Colour of the orbit-line in the map view.", "description": "Colour of the orbit-line in the map view.",
"$ref": "#/definitions/MColor" "$ref": "#/definitions/MColor"
@ -1081,6 +1081,16 @@
"type": "boolean", "type": "boolean",
"description": "Should we just draw a line behind its orbit instead of the entire circle/ellipse?" "description": "Should we just draw a line behind its orbit instead of the entire circle/ellipse?"
}, },
"orbitLineFadeEndDistance": {
"type": "number",
"description": "If the camera is farther than this distance the orbit line will fade out. Leave empty to not have it fade out.",
"format": "float"
},
"orbitLineFadeStartDistance": {
"type": "number",
"description": "If the camera is closer than this distance the orbit line will fade out. Leave empty to not have it fade out.",
"format": "float"
},
"semiMajorAxis": { "semiMajorAxis": {
"type": "number", "type": "number",
"description": "The semi-major axis of the ellipse that is the body's orbit. For a circular orbit this is the radius.", "description": "The semi-major axis of the ellipse that is the body's orbit. For a circular orbit this is the radius.",