Fixing more animations

This commit is contained in:
DaanV2
2021-11-11 16:38:53 +01:00
parent 80241e4d3f
commit 2ebb53a2a6
2 changed files with 121 additions and 43 deletions

View File

@@ -164,9 +164,16 @@
"additionalProperties": { "additionalProperties": {
"title": "Timeline Object", "title": "Timeline Object",
"description": "A single point in time", "description": "A single point in time",
"oneOf": [
{
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
},
{
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"examples": [{ "0.0": {} }],
"properties": { "properties": {
"lerp_mode": { "lerp_mode": {
"type": "string", "type": "string",
@@ -175,27 +182,46 @@
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"] "enum": ["linear", "catmullrom"]
}, },
"pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" }, "pre": {
"post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" } "title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
},
"post": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
} }
} }
} }
] ]
}
}
]
}, },
"rotation": { "rotation": {
"title": "Rotation", "title": "Rotation",
"description": "The rotation transformation during this animation", "description": "The rotation transformation during this animation",
"oneOf": [ "oneOf": [
{ "$ref": "#/definitions/RotationV3" }, { "type": "array", "$ref": "#/definitions/RotationV3" },
{ {
"type": "object", "type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"additionalProperties": { "additionalProperties": {
"title": "Timeline Object", "title": "Timeline Object",
"description": "A single point in time", "description": "A single point in time",
"oneOf": [
{
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
},
{
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"examples": [{ "0.0": {} }],
"properties": { "properties": {
"lerp_mode": { "lerp_mode": {
"type": "string", "type": "string",
@@ -204,12 +230,24 @@
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"] "enum": ["linear", "catmullrom"]
}, },
"pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" }, "pre": {
"post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" } "title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
},
"post": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
} }
} }
} }
] ]
}
}
]
}, },
"relative_to": { "relative_to": {
"title": "Relative To", "title": "Relative To",

View File

@@ -164,6 +164,14 @@
"additionalProperties": { "additionalProperties": {
"title": "Timeline Object", "title": "Timeline Object",
"description": "A single point in time", "description": "A single point in time",
"oneOf": [
{
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
},
{
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"properties": { "properties": {
@@ -174,12 +182,24 @@
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"] "enum": ["linear", "catmullrom"]
}, },
"pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" }, "pre": {
"post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" } "title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
},
"post": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
} }
} }
} }
] ]
}
}
]
}, },
"rotation": { "rotation": {
"title": "Rotation", "title": "Rotation",
@@ -192,6 +212,14 @@
"additionalProperties": { "additionalProperties": {
"title": "Timeline Object", "title": "Timeline Object",
"description": "A single point in time", "description": "A single point in time",
"oneOf": [
{
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
},
{
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"properties": { "properties": {
@@ -202,12 +230,24 @@
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"] "enum": ["linear", "catmullrom"]
}, },
"pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" }, "pre": {
"post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" } "title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
},
"post": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
} }
} }
} }
] ]
}
}
]
}, },
"relative_to": { "relative_to": {
"title": "Relative To", "title": "Relative To",