Tweaked animation controller 1.10.0

This commit is contained in:
DaanV2
2021-03-11 12:06:53 +01:00
parent bccb5f95aa
commit 941ca8b8b0

View File

@@ -101,9 +101,7 @@
"states": { "states": {
"title": "The states definition", "title": "The states definition",
"description": "The states of this animation controller", "description": "The states of this animation controller",
"propertyNames": { "propertyNames": { "pattern": "[a-z\\.]+", "examples": ["default"] },
"pattern": "[a-z\\.]+"
},
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
@@ -123,6 +121,7 @@
}, },
"blend_transition": { "blend_transition": {
"title": "Blend Transition", "title": "Blend Transition",
"description": "when transitioning away from this state, cross-fade over",
"oneOf": [ "oneOf": [
{ {
"type": "number", "type": "number",
@@ -189,10 +188,14 @@
"required": ["input"], "required": ["input"],
"properties": { "properties": {
"input": { "input": {
"title": "Input",
"description": "",
"$ref": "../../../molang/1.8.0/number.json" "$ref": "../../../molang/1.8.0/number.json"
}, },
"remap_curve": { "remap_curve": {
"title": "Remap curve",
"additionalProperties": { "additionalProperties": {
"propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" },
"type": "number" "type": "number"
} }
} }