Added blend_weights for animations and animation_controllers

This commit is contained in:
DaanV2
2021-05-10 20:26:09 +02:00
parent 64858af8b8
commit 0ec3926cec
3 changed files with 20 additions and 9 deletions

View File

@@ -84,7 +84,7 @@
"additionalProperties": false,
"type": "object",
"title": "Scripts",
"description": "TODO",
"description": "The place where variables, and animations / controller to be run is specified",
"properties": {
"animate": {
"type": "array",
@@ -101,9 +101,10 @@
"title": "Animation (Controller) Condition",
"description": "A single animation or animation controller to run on condition",
"additionalProperties": {
"type": "string",
"description": "A molang condition",
"title": "Molang"
"oneOf": [
{ "type": "string", "description": "A molang condition", "title": "Molang" },
{ "type": "number", "description": "Blend weight", "title": "Blend weight" }
]
}
}
]