2020-05-22 00:21:33 +00:00
|
|
|
[
|
2020-05-29 19:56:32 +00:00
|
|
|
(
|
2020-09-18 00:16:38 +00:00
|
|
|
entity: 0,
|
2020-05-27 22:49:27 +00:00
|
|
|
components: [
|
|
|
|
{
|
2020-11-28 00:39:59 +00:00
|
|
|
"type": "bevy_transform::components::transform::Transform",
|
|
|
|
"struct": {
|
|
|
|
"translation": {
|
2021-02-22 03:59:36 +00:00
|
|
|
"type": "glam::vec3::Vec3",
|
2020-11-28 00:39:59 +00:00
|
|
|
"value": (0.0, 0.0, 0.0),
|
|
|
|
},
|
|
|
|
"rotation": {
|
2021-02-22 03:59:36 +00:00
|
|
|
"type": "glam::quat::Quat",
|
2020-11-28 00:39:59 +00:00
|
|
|
"value": (0.0, 0.0, 0.0, 1.0),
|
|
|
|
},
|
|
|
|
"scale": {
|
2021-02-22 03:59:36 +00:00
|
|
|
"type": "glam::vec3::Vec3",
|
2020-11-28 00:39:59 +00:00
|
|
|
"value": (1.0, 1.0, 1.0),
|
|
|
|
},
|
2020-05-27 22:49:27 +00:00
|
|
|
},
|
2020-05-29 19:56:32 +00:00
|
|
|
},
|
2020-05-27 22:49:27 +00:00
|
|
|
{
|
2020-11-28 00:39:59 +00:00
|
|
|
"type": "scene::ComponentB",
|
|
|
|
"struct": {
|
|
|
|
"value": {
|
|
|
|
"type": "alloc::string::String",
|
|
|
|
"value": "hello",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "scene::ComponentA",
|
|
|
|
"struct": {
|
|
|
|
"x": {
|
|
|
|
"type": "f32",
|
|
|
|
"value": 1.0,
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"type": "f32",
|
|
|
|
"value": 2.0,
|
|
|
|
},
|
2020-05-27 22:49:27 +00:00
|
|
|
},
|
|
|
|
},
|
2020-09-18 00:16:38 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
(
|
|
|
|
entity: 1,
|
|
|
|
components: [
|
2020-05-27 22:49:27 +00:00
|
|
|
{
|
2020-11-28 00:39:59 +00:00
|
|
|
"type": "scene::ComponentA",
|
|
|
|
"struct": {
|
|
|
|
"x": {
|
|
|
|
"type": "f32",
|
|
|
|
"value": 3.0,
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"type": "f32",
|
|
|
|
"value": 4.0,
|
|
|
|
},
|
2020-05-27 22:49:27 +00:00
|
|
|
},
|
2020-05-29 19:56:32 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
),
|
2021-02-22 03:59:36 +00:00
|
|
|
]
|