REPOSITORY SOURCE

transform-v2.json

tests/fixtures/transform-v2.json

1{
2  "format": 1,
3  "schemas": [
4    {
5      "authority": "player",
6      "name": "Transform",
7      "persistence": "session",
8      "predicted": true,
9      "schema": {
10        "fields": {
11          "position": {
12            "items": [
13              {
14                "max": 1000000,
15                "min": -1000000,
16                "type": "number"
17              },
18              {
19                "max": 1000000,
20                "min": -1000000,
21                "type": "number"
22              },
23              {
24                "max": 1000000,
25                "min": -1000000,
26                "type": "number"
27              }
28            ],
29            "type": "tuple"
30          },
31          "rotation": {
32            "type": "quaternion"
33          },
34          "scale": {
35            "items": [
36              {
37                "max": 10000,
38                "min": 0.0001,
39                "type": "number"
40              },
41              {
42                "max": 10000,
43                "min": 0.0001,
44                "type": "number"
45              },
46              {
47                "max": 10000,
48                "min": 0.0001,
49                "type": "number"
50              }
51            ],
52            "type": "tuple"
53          }
54        },
55        "type": "object"
56      },
57      "version": 2,
58      "visibility": "public"
59    }
60  ],
61  "entities": [
62    {
63      "id": "legacy.player",
64      "components": {
65        "Transform": {
66          "position": [
67            3.25,
68            0.85,
69            -6.5
70          ],
71          "rotation": [
72            0,
73            0,
74            0,
75            1
76          ],
77          "scale": [
78            1,
79            1,
80            1
81          ]
82        }
83      }
84    }
85  ]
86}
87