Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / rive-cpp / dev / defs / animation / state_transition.json
1 {
2   "name": "StateTransition",
3   "key": {
4     "int": 65,
5     "string": "statetransition"
6   },
7   "extends": "animation/state_machine_layer_component.json",
8   "properties": {
9     "stateFromId": {
10       "type": "Id",
11       "initialValue": "Core.missingId",
12       "key": {
13         "int": 150,
14         "string": "statefromid"
15       },
16       "description": "Id of the state this transition originates from.",
17       "runtime": false
18     },
19     "stateToId": {
20       "type": "Id",
21       "typeRuntime": "uint",
22       "initialValue": "Core.missingId",
23       "initialValueRuntime": "-1",
24       "key": {
25         "int": 151,
26         "string": "statetoid"
27       },
28       "description": "Id of the state this transition originates from."
29     },
30     "flags": {
31       "type": "uint",
32       "initialValue": "0",
33       "key": {
34         "int": 152,
35         "string": "flags"
36       }
37     },
38     "duration": {
39       "type": "uint",
40       "initialValue": "0",
41       "key": {
42         "int": 158,
43         "string": "duration"
44       },
45       "description": "Duration of the trasition (mix time) in milliseconds or percentage (0-100) based on flags."
46     },
47     "transitionOrder": {
48       "type": "FractionalIndex",
49       "initialValue": "FractionalIndex.invalid",
50       "key": {
51         "int": 159,
52         "string": "transitionorder"
53       },
54       "description": "Order value for sorting transitions in states.",
55       "runtime": false
56     },
57     "exitTime": {
58       "type": "uint",
59       "initialValue": "0",
60       "key": {
61         "int": 160,
62         "string": "exittime"
63       },
64       "description": "Duration in milliseconds that must elapse before allowing the state to change. If the flags mark this property as being percentage based, the value is in 0-100% of the outgoing animation's duration"
65     }
66   }
67 }