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,20 +164,39 @@
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"additionalProperties": false,
"type": "object",
"examples": [{ "0.0": {} }],
"properties": {
"lerp_mode": {
"type": "string",
"title": "Lerp Mode",
"oneOf": [
{
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
"$ref": "#/definitions/PositionV3"
},
"pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" },
"post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" }
}
{
"additionalProperties": false,
"type": "object",
"properties": {
"lerp_mode": {
"type": "string",
"title": "Lerp Mode",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
},
"pre": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
},
"post": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
}
}
}
]
}
}
]
@@ -186,27 +205,46 @@
"title": "Rotation",
"description": "The rotation transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/RotationV3" },
{ "type": "array", "$ref": "#/definitions/RotationV3" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"additionalProperties": false,
"type": "object",
"examples": [{ "0.0": {} }],
"properties": {
"lerp_mode": {
"type": "string",
"title": "Lerp Mode",
"oneOf": [
{
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
"$ref": "#/definitions/RotationV3"
},
"pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" },
"post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" }
}
{
"additionalProperties": false,
"type": "object",
"properties": {
"lerp_mode": {
"type": "string",
"title": "Lerp Mode",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
},
"pre": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
},
"post": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
}
}
}
]
}
}
]

View File

@@ -164,19 +164,39 @@
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"additionalProperties": false,
"type": "object",
"properties": {
"lerp_mode": {
"type": "string",
"title": "Lerp Mode",
"oneOf": [
{
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
"$ref": "#/definitions/PositionV3"
},
"pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" },
"post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" }
}
{
"additionalProperties": false,
"type": "object",
"properties": {
"lerp_mode": {
"type": "string",
"title": "Lerp Mode",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
},
"pre": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
},
"post": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/PositionV3"
}
}
}
]
}
}
]
@@ -192,19 +212,39 @@
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"additionalProperties": false,
"type": "object",
"properties": {
"lerp_mode": {
"type": "string",
"title": "Lerp Mode",
"oneOf": [
{
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
"$ref": "#/definitions/RotationV3"
},
"pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" },
"post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" }
}
{
"additionalProperties": false,
"type": "object",
"properties": {
"lerp_mode": {
"type": "string",
"title": "Lerp Mode",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
},
"pre": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
},
"post": {
"title": "Pre",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "#/definitions/RotationV3"
}
}
}
]
}
}
]