bevy/assets/scenes/load_scene_example.scn.ron

65 lines
1.2 KiB
Text
Raw Normal View History

2020-05-22 00:21:33 +00:00
[
(
entity: 0,
components: [
{
2020-11-28 00:39:59 +00:00
"type": "bevy_transform::components::transform::Transform",
"struct": {
"translation": {
"type": "glam::vec3::Vec3",
2020-11-28 00:39:59 +00:00
"value": (0.0, 0.0, 0.0),
},
"rotation": {
"type": "glam::quat::Quat",
2020-11-28 00:39:59 +00:00
"value": (0.0, 0.0, 0.0, 1.0),
},
"scale": {
"type": "glam::vec3::Vec3",
2020-11-28 00:39:59 +00:00
"value": (1.0, 1.0, 1.0),
},
},
},
{
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,
},
},
},
],
),
(
entity: 1,
components: [
{
2020-11-28 00:39:59 +00:00
"type": "scene::ComponentA",
"struct": {
"x": {
"type": "f32",
"value": 3.0,
},
"y": {
"type": "f32",
"value": 4.0,
},
},
},
],
),
]