2020-05-21 17:21:33 -07:00
|
|
|
[
|
2020-05-29 12:56:32 -07:00
|
|
|
(
|
2020-09-17 17:16:38 -07:00
|
|
|
entity: 0,
|
2020-05-27 15:49:27 -07:00
|
|
|
components: [
|
|
|
|
{
|
2020-11-27 16:39:59 -08:00
|
|
|
"type": "bevy_transform::components::transform::Transform",
|
|
|
|
"struct": {
|
|
|
|
"translation": {
|
2021-02-22 03:59:36 +00:00
|
|
|
"type": "glam::vec3::Vec3",
|
2020-11-27 16:39:59 -08:00
|
|
|
"value": (0.0, 0.0, 0.0),
|
|
|
|
},
|
|
|
|
"rotation": {
|
2021-02-22 03:59:36 +00:00
|
|
|
"type": "glam::quat::Quat",
|
2020-11-27 16:39:59 -08: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-27 16:39:59 -08:00
|
|
|
"value": (1.0, 1.0, 1.0),
|
|
|
|
},
|
2020-05-27 15:49:27 -07:00
|
|
|
},
|
2020-05-29 12:56:32 -07:00
|
|
|
},
|
2020-05-27 15:49:27 -07:00
|
|
|
{
|
2020-11-27 16:39:59 -08: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 15:49:27 -07:00
|
|
|
},
|
|
|
|
},
|
2020-09-17 17:16:38 -07:00
|
|
|
],
|
|
|
|
),
|
|
|
|
(
|
|
|
|
entity: 1,
|
|
|
|
components: [
|
2020-05-27 15:49:27 -07:00
|
|
|
{
|
2020-11-27 16:39:59 -08:00
|
|
|
"type": "scene::ComponentA",
|
|
|
|
"struct": {
|
|
|
|
"x": {
|
|
|
|
"type": "f32",
|
|
|
|
"value": 3.0,
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"type": "f32",
|
|
|
|
"value": 4.0,
|
|
|
|
},
|
2020-05-27 15:49:27 -07:00
|
|
|
},
|
2020-05-29 12:56:32 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
),
|
2021-02-22 03:59:36 +00:00
|
|
|
]
|