diff --git a/Cargo.toml b/Cargo.toml index ecf33d04..ad3f9cc4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,9 +16,7 @@ members = [ "examples/bevy_gltf_save_load/basic/", "examples/bevy_registry_export/basic", - "testing/bevy_registry_export/basic", "testing/bevy_example" - ] resolver = "2" diff --git a/crates/bevy_gltf_blueprints/Cargo.toml b/crates/bevy_gltf_blueprints/Cargo.toml index dc328a0f..5d84dfb6 100644 --- a/crates/bevy_gltf_blueprints/Cargo.toml +++ b/crates/bevy_gltf_blueprints/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_gltf_blueprints" -version = "0.7.3" +version = "0.8.0" authors = ["Mark 'kaosat-dev' Moissette"] description = "Adds the ability to define Blueprints/Prefabs for [Bevy](https://bevyengine.org/) inside gltf files and spawn them in Bevy." homepage = "https://github.com/kaosat-dev/Blender_bevy_components_workflow" @@ -17,6 +17,6 @@ workspace = true bevy = { version = "0.12", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf", "bevy_animation", "animation"] } [dependencies] -bevy_gltf_components = "0.3" +bevy_gltf_components = "0.4" #bevy_gltf_components = { path = "../bevy_gltf_components" } bevy = { version = "0.12", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf", "bevy_animation", "animation"] } diff --git a/crates/bevy_gltf_blueprints/README.md b/crates/bevy_gltf_blueprints/README.md index a4914abc..db8ff341 100644 --- a/crates/bevy_gltf_blueprints/README.md +++ b/crates/bevy_gltf_blueprints/README.md @@ -26,7 +26,7 @@ Here's a minimal usage example: # Cargo.toml [dependencies] bevy="0.12" -bevy_gltf_blueprints = { version = "0.7"} +bevy_gltf_blueprints = { version = "0.8"} ``` @@ -64,7 +64,7 @@ fn spawn_blueprint( Add the following to your `[dependencies]` section in `Cargo.toml`: ```toml -bevy_gltf_blueprints = "0.7" +bevy_gltf_blueprints = "0.8" ``` Or use `cargo add`: @@ -346,7 +346,7 @@ The main branch is compatible with the latest Bevy release, while the branch `be Compatibility of `bevy_gltf_blueprints` versions: | `bevy_gltf_blueprints` | `bevy` | | :-- | :-- | -| `0.3 - 0.7` | `0.12` | +| `0.3 - 0.8` | `0.12` | | `0.1 - 0.2` | `0.11` | | branch `main` | `0.12` | | branch `bevy_main` | `main` | diff --git a/crates/bevy_gltf_components/Cargo.toml b/crates/bevy_gltf_components/Cargo.toml index 9897ec70..af3b5cb3 100644 --- a/crates/bevy_gltf_components/Cargo.toml +++ b/crates/bevy_gltf_components/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_gltf_components" -version = "0.3.2" +version = "0.4.0" authors = ["Mark 'kaosat-dev' Moissette"] description = "Allows you to define [Bevy](https://bevyengine.org/) components direclty inside gltf files and instanciate the components on the Bevy side." homepage = "https://github.com/kaosat-dev/Blender_bevy_components_workflow" diff --git a/crates/bevy_gltf_components/README.md b/crates/bevy_gltf_components/README.md index 7a6243d4..d3a2a116 100644 --- a/crates/bevy_gltf_components/README.md +++ b/crates/bevy_gltf_components/README.md @@ -24,7 +24,7 @@ Here's a minimal usage example: # Cargo.toml [dependencies] bevy="0.12" -bevy_gltf_components = { version = "0.3"} +bevy_gltf_components = { version = "0.4"} ``` @@ -60,7 +60,7 @@ bevy_gltf_components = { version = "0.3"} Add the following to your `[dependencies]` section in `Cargo.toml`: ```toml -bevy_gltf_components = "0.3" +bevy_gltf_components = "0.4" ``` Or use `cargo add`: @@ -117,7 +117,7 @@ The main branch is compatible with the latest Bevy release, while the branch `be Compatibility of `bevy_gltf_components` versions: | `bevy_gltf_components` | `bevy` | | :-- | :-- | -| `0.2 - 0.3` | `0.12` | +| `0.2 - 0.4` | `0.12` | | `0.1` | `0.11` | | branch `main` | `0.12` | | branch `bevy_main` | `main` | diff --git a/crates/bevy_gltf_components/src/lib.rs b/crates/bevy_gltf_components/src/lib.rs index 74417a49..75cd9106 100644 --- a/crates/bevy_gltf_components/src/lib.rs +++ b/crates/bevy_gltf_components/src/lib.rs @@ -8,7 +8,9 @@ pub mod process_gltfs; pub use process_gltfs::*; use bevy::{ - ecs::system::Resource, + app::Startup, + ecs::system::{Res, Resource}, + log::warn, prelude::{App, IntoSystemConfigs, Plugin, SystemSet, Update}, }; @@ -66,11 +68,18 @@ impl Default for ComponentsFromGltfPlugin { } } +fn check_for_legacy_mode(gltf_components_config: Res) { + if gltf_components_config.legacy_mode { + warn!("using simplified component definitions is deprecated since 0.3, prefer defining components with real ron values (use the bevy_components tool for Blender for simplicity) "); + } +} + impl Plugin for ComponentsFromGltfPlugin { fn build(&self, app: &mut App) { app.insert_resource(GltfComponentsConfig { legacy_mode: self.legacy_mode, }) + .add_systems(Startup, check_for_legacy_mode) .add_systems( Update, (add_components_from_gltf_extras).in_set(GltfComponentsSet::Injection), diff --git a/crates/bevy_gltf_components/src/ronstring_to_reflect_component.rs b/crates/bevy_gltf_components/src/ronstring_to_reflect_component.rs index 4bae6515..018770f2 100644 --- a/crates/bevy_gltf_components/src/ronstring_to_reflect_component.rs +++ b/crates/bevy_gltf_components/src/ronstring_to_reflect_component.rs @@ -91,14 +91,11 @@ pub fn ronstring_to_reflect_component( parsed_value = format!("({formated})"); } } - } - // FIXME: waaait this should be part of the legacy mode as it modifies the ron data ??? - // so it means the values generated by the Blende add-on are incomplete (trivial to fix, but still) - if parsed_value.is_empty() { - parsed_value = "()".to_string(); + if parsed_value.is_empty() { + parsed_value = "()".to_string(); + } } - let ron_string = format!( "{{ \"{}\":{} }}", type_registration.type_info().type_path(), @@ -106,7 +103,7 @@ pub fn ronstring_to_reflect_component( ); // usefull to determine what an entity looks like Serialized - /*let test_struct = VecOfColors(vec![Color::Rgba { red: 0., green: 0.0, blue: 0.0, alpha: 0.0 }]);//TuppleTestColor(Color::Rgba { red: 0., green: 0.0, blue: 0.0, alpha: 0.0 }); + /*let test_struct = CameraRenderGraph::new("name"); let serializer = ReflectSerializer::new(&test_struct, &type_registry); let serialized = ron::ser::to_string_pretty(&serializer, ron::ser::PrettyConfig::default()).unwrap(); diff --git a/crates/bevy_gltf_save_load/Cargo.toml b/crates/bevy_gltf_save_load/Cargo.toml index 23800fbe..0d4ebfa4 100644 --- a/crates/bevy_gltf_save_load/Cargo.toml +++ b/crates/bevy_gltf_save_load/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_gltf_save_load" -version = "0.2.1" +version = "0.3.0" authors = ["Mark 'kaosat-dev' Moissette"] description = "Save & load your bevy games" homepage = "https://github.com/kaosat-dev/Blender_bevy_components_workflow" @@ -18,4 +18,5 @@ bevy = { version = "0.12", default-features = false, features = ["bevy_asset", " [dependencies] bevy = { version = "0.12", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf"] } -bevy_gltf_blueprints = "0.7" +bevy_gltf_blueprints = "0.8" +#bevy_gltf_blueprints = { path = "../bevy_gltf_blueprints" } diff --git a/crates/bevy_gltf_save_load/README.md b/crates/bevy_gltf_save_load/README.md index e68daac8..3565da3a 100644 --- a/crates/bevy_gltf_save_load/README.md +++ b/crates/bevy_gltf_save_load/README.md @@ -35,7 +35,7 @@ Here's a minimal usage example: # Cargo.toml [dependencies] bevy="0.12" -bevy_gltf_save_load = "0.1" +bevy_gltf_save_load = "0.3" bevy_gltf_blueprints = "0.6" // also needed ``` @@ -141,7 +141,7 @@ take a look at the [example]('https://github.com/kaosat-dev/Blender_bevy_compone Add the following to your `[dependencies]` section in `Cargo.toml`: ```toml -bevy_gltf_save_load = "0.1" +bevy_gltf_save_load = "0.3" bevy_gltf_blueprints = "0.6" // also needed, as bevy_gltf_save_load does not re-export it at this time ``` @@ -299,7 +299,7 @@ The main branch is compatible with the latest Bevy release, while the branch `be Compatibility of `bevy_gltf_save_load` versions: | `bevy_gltf_save_load` | `bevy` | | :-- | :-- | -| `0.1 ` | `0.12` | +| `0.1 -0.3` | `0.12` | | branch `main` | `0.12` | | branch `bevy_main` | `main` | diff --git a/crates/bevy_registry_export/Cargo.toml b/crates/bevy_registry_export/Cargo.toml index 5cee2923..b4429904 100644 --- a/crates/bevy_registry_export/Cargo.toml +++ b/crates/bevy_registry_export/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_registry_export" -version = "0.1.1" +version = "0.2.0" authors = ["Mark 'kaosat-dev' Moissette", "Pascal 'Killercup' Hertleif"] description = "Allows you to define [Bevy](https://bevyengine.org/) components direclty inside gltf files and instanciate the components on the Bevy side." homepage = "https://github.com/kaosat-dev/Blender_bevy_components_workflow" diff --git a/crates/bevy_registry_export/README.md b/crates/bevy_registry_export/README.md index df856163..183b7640 100644 --- a/crates/bevy_registry_export/README.md +++ b/crates/bevy_registry_export/README.md @@ -18,7 +18,7 @@ Here's a minimal usage example: # Cargo.toml [dependencies] bevy="0.12" -bevy_registry_export = "0.1" +bevy_registry_export = "0.2" ``` ```rust no_run @@ -44,7 +44,7 @@ take a look at the [example]('https://github.com/kaosat-dev/Blender_bevy_compone Add the following to your `[dependencies]` section in `Cargo.toml`: ```toml -bevy_registry_export = "0.1" +bevy_registry_export = "0.2" ``` @@ -112,8 +112,9 @@ The main branch is compatible with the latest Bevy release, while the branch `be Compatibility of `bevy_registry_export` versions: | `bevy_registry_export` | `bevy` | `bevy_components (Blender add-on)` | | :-- | :-- |:-- | -| `0.1 ` | `0.12` | `0.1.0` | -| branch `main` | `0.12` | `0.1.0` | +| `0.2 ` | `0.12` | `0.3` | +| `0.1 ` | `0.12` | `0.1 -0.2` | +| branch `main` | `0.12` | `0.1` | | branch `bevy_main` | `main` | `n/a` | diff --git a/examples/bevy_registry_export/basic/assets/basic.blend b/examples/bevy_registry_export/basic/assets/basic.blend index b38fad35..cdb6b22d 100644 Binary files a/examples/bevy_registry_export/basic/assets/basic.blend and b/examples/bevy_registry_export/basic/assets/basic.blend differ diff --git a/examples/bevy_registry_export/basic/assets/models/World.glb b/examples/bevy_registry_export/basic/assets/models/World.glb index 04d2c2a0..b7bc2b58 100644 Binary files a/examples/bevy_registry_export/basic/assets/models/World.glb and b/examples/bevy_registry_export/basic/assets/models/World.glb differ diff --git a/examples/bevy_registry_export/basic/assets/models/library/Container.glb b/examples/bevy_registry_export/basic/assets/models/library/Container.glb index 630a6c06..21cf8abb 100644 Binary files a/examples/bevy_registry_export/basic/assets/models/library/Container.glb and b/examples/bevy_registry_export/basic/assets/models/library/Container.glb differ diff --git a/examples/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb b/examples/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb index 64542023..0361392d 100644 Binary files a/examples/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb and b/examples/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb differ diff --git a/examples/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb b/examples/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb index a66129d1..35b4638b 100644 Binary files a/examples/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb and b/examples/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb differ diff --git a/examples/bevy_registry_export/basic/assets/models/library/Pillar.glb b/examples/bevy_registry_export/basic/assets/models/library/Pillar.glb index 08371d4b..ca088968 100644 Binary files a/examples/bevy_registry_export/basic/assets/models/library/Pillar.glb and b/examples/bevy_registry_export/basic/assets/models/library/Pillar.glb differ diff --git a/examples/bevy_registry_export/basic/assets/models/library/Player.glb b/examples/bevy_registry_export/basic/assets/models/library/Player.glb index 81a30b8d..e91658dd 100644 Binary files a/examples/bevy_registry_export/basic/assets/models/library/Player.glb and b/examples/bevy_registry_export/basic/assets/models/library/Player.glb differ diff --git a/examples/bevy_registry_export/basic/assets/models/library/Unused_in_level_test.glb b/examples/bevy_registry_export/basic/assets/models/library/Unused_in_level_test.glb index c80b9661..18b9054a 100644 Binary files a/examples/bevy_registry_export/basic/assets/models/library/Unused_in_level_test.glb and b/examples/bevy_registry_export/basic/assets/models/library/Unused_in_level_test.glb differ diff --git a/testing/bevy_registry_export/basic/Cargo.toml b/testing/bevy_registry_export/basic/Cargo.toml deleted file mode 100644 index da6df7f3..00000000 --- a/testing/bevy_registry_export/basic/Cargo.toml +++ /dev/null @@ -1,16 +0,0 @@ -[package] -name = "bevy_bevy_registry_export_basic_testing" -version = "0.3.0" -edition = "2021" -license = "MIT OR Apache-2.0" - -[dependencies] -bevy="0.12" -bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } -bevy_registry_export = { path = "../../../crates/bevy_registry_export" } -bevy_gltf_worlflow_examples_common = { path = "../../../examples/common" } - -bevy_rapier3d = { version = "0.23.0", features = [ "serde-serialize", "debug-render-3d", "enhanced-determinism"] } -bevy_asset_loader = { version = "0.18", features = ["standard_dynamic_assets" ]} -bevy_editor_pls = { version = "0.6" } -rand = "0.8.5" diff --git a/testing/bevy_registry_export/basic/README.md b/testing/bevy_registry_export/basic/README.md deleted file mode 100644 index 5d2e0873..00000000 --- a/testing/bevy_registry_export/basic/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Bevy registry export example/demo - -This example showcases -* the use of the bevy_registry_export crate to extract all components & types information into a json file. -* That file is then used by the [Blender addon](https://github.com/kaosat-dev/Blender_bevy_components_workflow/tree/main/tools/bevy_components) to create Uis for each component, -to be able to add & edit Bevy components easilly in Blender ! - - -## Running this example - -``` -cargo run --features bevy/dynamic_linking -``` - -Running the example also regenerates the registry.json file. diff --git a/testing/bevy_registry_export/basic/assets/assets_core.assets.ron b/testing/bevy_registry_export/basic/assets/assets_core.assets.ron deleted file mode 100644 index 8d0a0994..00000000 --- a/testing/bevy_registry_export/basic/assets/assets_core.assets.ron +++ /dev/null @@ -1 +0,0 @@ -({}) \ No newline at end of file diff --git a/testing/bevy_registry_export/basic/assets/assets_game.assets.ron b/testing/bevy_registry_export/basic/assets/assets_game.assets.ron deleted file mode 100644 index 5b1e9696..00000000 --- a/testing/bevy_registry_export/basic/assets/assets_game.assets.ron +++ /dev/null @@ -1,6 +0,0 @@ -({ - "world":File (path: "models/World.glb"), - "models": Folder ( - path: "models/library", - ), -}) \ No newline at end of file diff --git a/testing/bevy_registry_export/basic/assets/basic.blend b/testing/bevy_registry_export/basic/assets/basic.blend deleted file mode 100644 index 532628b9..00000000 Binary files a/testing/bevy_registry_export/basic/assets/basic.blend and /dev/null differ diff --git a/testing/bevy_registry_export/basic/assets/models/World.glb b/testing/bevy_registry_export/basic/assets/models/World.glb deleted file mode 100644 index 81caa9d1..00000000 Binary files a/testing/bevy_registry_export/basic/assets/models/World.glb and /dev/null differ diff --git a/testing/bevy_registry_export/basic/assets/models/library/Container.glb b/testing/bevy_registry_export/basic/assets/models/library/Container.glb deleted file mode 100644 index 5818d2c5..00000000 Binary files a/testing/bevy_registry_export/basic/assets/models/library/Container.glb and /dev/null differ diff --git a/testing/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb b/testing/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb deleted file mode 100644 index f5d97cb1..00000000 Binary files a/testing/bevy_registry_export/basic/assets/models/library/Health_Pickup.glb and /dev/null differ diff --git a/testing/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb b/testing/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb deleted file mode 100644 index 47c37cd3..00000000 Binary files a/testing/bevy_registry_export/basic/assets/models/library/MagicTeapot.glb and /dev/null differ diff --git a/testing/bevy_registry_export/basic/assets/models/library/Pillar.glb b/testing/bevy_registry_export/basic/assets/models/library/Pillar.glb deleted file mode 100644 index 9a6f3e0f..00000000 Binary files a/testing/bevy_registry_export/basic/assets/models/library/Pillar.glb and /dev/null differ diff --git a/testing/bevy_registry_export/basic/assets/models/library/Player.glb b/testing/bevy_registry_export/basic/assets/models/library/Player.glb deleted file mode 100644 index 2d749b29..00000000 Binary files a/testing/bevy_registry_export/basic/assets/models/library/Player.glb and /dev/null differ diff --git a/testing/bevy_registry_export/basic/assets/models/library/Unused_in_level_test.glb b/testing/bevy_registry_export/basic/assets/models/library/Unused_in_level_test.glb deleted file mode 100644 index c80b9661..00000000 Binary files a/testing/bevy_registry_export/basic/assets/models/library/Unused_in_level_test.glb and /dev/null differ diff --git a/testing/bevy_registry_export/basic/assets/registry.json b/testing/bevy_registry_export/basic/assets/registry.json deleted file mode 100644 index 86a81b7b..00000000 --- a/testing/bevy_registry_export/basic/assets/registry.json +++ /dev/null @@ -1,10732 +0,0 @@ -{ - "$defs": { - "(f32, f32)": { - "isComponent": false, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - }, - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "(f32, f32)", - "title": "(f32, f32)", - "type": "array", - "typeInfo": "Tuple" - }, - "alloc::borrow::Cow": { - "isComponent": false, - "isResource": false, - "short_name": "Cow", - "title": "alloc::borrow::Cow", - "type": "object", - "typeInfo": "Value" - }, - "alloc::borrow::Cow": { - "isComponent": false, - "isResource": false, - "short_name": "Cow", - "title": "alloc::borrow::Cow", - "type": "object", - "typeInfo": "Value" - }, - "alloc::string::String": { - "isComponent": false, - "isResource": false, - "short_name": "String", - "title": "alloc::string::String", - "type": "string", - "typeInfo": "Value" - }, - "alloc::vec::Vec<(f32, f32)>": { - "isComponent": false, - "isResource": false, - "items": { - "type": { - "$ref": "#/$defs/(f32, f32)" - } - }, - "short_name": "Vec<(f32, f32)>", - "title": "alloc::vec::Vec<(f32, f32)>", - "type": "array", - "typeInfo": "List" - }, - "alloc::vec::Vec": { - "isComponent": false, - "isResource": false, - "items": { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - }, - "short_name": "Vec", - "title": "alloc::vec::Vec", - "type": "array", - "typeInfo": "List" - }, - "alloc::vec::Vec": { - "isComponent": false, - "isResource": false, - "items": { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::TupleVec3" - } - }, - "short_name": "Vec", - "title": "alloc::vec::Vec", - "type": "array", - "typeInfo": "List" - }, - "alloc::vec::Vec": { - "isComponent": false, - "isResource": false, - "items": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - }, - "short_name": "Vec", - "title": "alloc::vec::Vec", - "type": "array", - "typeInfo": "List" - }, - "alloc::vec::Vec": { - "isComponent": false, - "isResource": false, - "items": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "short_name": "Vec", - "title": "alloc::vec::Vec", - "type": "array", - "typeInfo": "List" - }, - "alloc::vec::Vec": { - "isComponent": false, - "isResource": false, - "items": { - "type": { - "$ref": "#/$defs/bevy_text::text::TextSection" - } - }, - "short_name": "Vec", - "title": "alloc::vec::Vec", - "type": "array", - "typeInfo": "List" - }, - "alloc::vec::Vec": { - "isComponent": false, - "isResource": false, - "items": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "short_name": "Vec", - "title": "alloc::vec::Vec", - "type": "array", - "typeInfo": "List" - }, - "bevy_animation::AnimationClip": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "curves": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec>" - } - }, - "duration": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "paths": { - "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" - } - } - }, - "required": [ - "curves", - "paths", - "duration" - ], - "short_name": "AnimationClip", - "title": "bevy_animation::AnimationClip", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_animation::AnimationPlayer": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "animation": { - "type": { - "$ref": "#/$defs/bevy_animation::PlayingAnimation" - } - }, - "paused": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "paused", - "animation" - ], - "short_name": "AnimationPlayer", - "title": "bevy_animation::AnimationPlayer", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_asset::handle::Handle<()>": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId<()>" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle<()>", - "title": "bevy_asset::handle::Handle<()>", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle>": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId>" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle>", - "title": "bevy_asset::handle::Handle>", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::handle::Handle": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/std::sync::Arc" - } - } - ], - "short_name": "Strong", - "title": "Strong", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" - } - } - ], - "short_name": "Weak", - "title": "Weak", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId<()>": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId<()>", - "title": "bevy_asset::id::AssetId<()>", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId>": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId>", - "title": "bevy_asset::id::AssetId>", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_asset::id::AssetId": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "index": { - "title": "index", - "type": { - "$ref": "#/$defs/bevy_asset::assets::AssetIndex" - } - } - }, - "required": [ - "index" - ], - "short_name": "Index", - "title": "Index", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "uuid": { - "title": "uuid", - "type": { - "$ref": "#/$defs/bevy_utils::Uuid" - } - } - }, - "required": [ - "uuid" - ], - "short_name": "Uuid", - "title": "Uuid", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_bevy_registry_export_basic_testing::test_components::AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut", - "title": "bevy_bevy_registry_export_basic_testing::test_components::AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::BasicTest": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "a": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "b": { - "type": { - "$ref": "#/$defs/u64" - } - }, - "c": { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - }, - "required": [ - "a", - "b", - "c" - ], - "short_name": "BasicTest", - "title": "bevy_bevy_registry_export_basic_testing::test_components::BasicTest", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::EnumComplex": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Float", - "title": "Float", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - ], - "short_name": "Wood", - "title": "Wood", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::BasicTest" - } - } - ], - "short_name": "Vec", - "title": "Vec", - "type": "array", - "typeInfo": "Tuple" - }, - { - "title": "SomeThing" - }, - { - "additionalProperties": false, - "properties": { - "a": { - "title": "a", - "type": { - "$ref": "#/$defs/f32" - } - }, - "b": { - "title": "b", - "type": { - "$ref": "#/$defs/u32" - } - }, - "c": { - "title": "c", - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - }, - "required": [ - "a", - "b", - "c" - ], - "short_name": "StructLike", - "title": "StructLike", - "type": "object", - "typeInfo": "Struct" - }, - { - "title": "None" - } - ], - "short_name": "EnumComplex", - "title": "bevy_bevy_registry_export_basic_testing::test_components::EnumComplex", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_bevy_registry_export_basic_testing::test_components::EnumTest": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "Metal", - "Wood", - "Rock", - "Cloth", - "Squishy", - "None" - ], - "short_name": "EnumTest", - "title": "bevy_bevy_registry_export_basic_testing::test_components::EnumTest", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_bevy_registry_export_basic_testing::test_components::NestedTupleStuff": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - }, - { - "type": { - "$ref": "#/$defs/u64" - } - }, - { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::NestingTestLevel2" - } - } - ], - "short_name": "NestedTupleStuff", - "title": "bevy_bevy_registry_export_basic_testing::test_components::NestedTupleStuff", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::NestingTestLevel2": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "basic": { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::BasicTest" - } - }, - "color": { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::TupleTestColor" - } - }, - "colors_list": { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::VecOfColors" - } - }, - "enable": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "enum_inner": { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::EnumTest" - } - }, - "nested": { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::NestingTestLevel3" - } - }, - "text": { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - }, - "toggle": { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::TupleTestBool" - } - } - }, - "required": [ - "text", - "enable", - "enum_inner", - "color", - "toggle", - "basic", - "nested", - "colors_list" - ], - "short_name": "NestingTestLevel2", - "title": "bevy_bevy_registry_export_basic_testing::test_components::NestingTestLevel2", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::NestingTestLevel3": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "vec": { - "type": { - "$ref": "#/$defs/bevy_bevy_registry_export_basic_testing::test_components::TupleVec3" - } - } - }, - "required": [ - "vec" - ], - "short_name": "NestingTestLevel3", - "title": "bevy_bevy_registry_export_basic_testing::test_components::NestingTestLevel3", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleTest2": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - }, - { - "type": { - "$ref": "#/$defs/u64" - } - }, - { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - ], - "short_name": "TupleTest2", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleTest2", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleTestBool": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bool" - } - } - ], - "short_name": "TupleTestBool", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleTestBool", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleTestColor": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - } - ], - "short_name": "TupleTestColor", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleTestColor", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleTestF32": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "TupleTestF32", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleTestF32", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleTestStr": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - ], - "short_name": "TupleTestStr", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleTestStr", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleTestU64": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/u64" - } - } - ], - "short_name": "TupleTestU64", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleTestU64", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleVec": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - ], - "short_name": "TupleVec", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleVec", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleVec2": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - ], - "short_name": "TupleVec2", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleVec2", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleVec3": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - ], - "short_name": "TupleVec3", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleVec3", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::TupleVecF32F32": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::vec::Vec<(f32, f32)>" - } - } - ], - "short_name": "TupleVecF32F32", - "title": "bevy_bevy_registry_export_basic_testing::test_components::TupleVecF32F32", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::UnitTest": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "UnitTest", - "title": "bevy_bevy_registry_export_basic_testing::test_components::UnitTest", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::VecOfColors": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - ], - "short_name": "VecOfColors", - "title": "bevy_bevy_registry_export_basic_testing::test_components::VecOfColors", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::VecOfF32s": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - ], - "short_name": "VecOfF32s", - "title": "bevy_bevy_registry_export_basic_testing::test_components::VecOfF32s", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_bevy_registry_export_basic_testing::test_components::VecOfVec3s2": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - ], - "short_name": "VecOfVec3s2", - "title": "bevy_bevy_registry_export_basic_testing::test_components::VecOfVec3s2", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_core::name::Name": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "hash": { - "type": { - "$ref": "#/$defs/u64" - } - }, - "name": { - "type": { - "$ref": "#/$defs/alloc::borrow::Cow" - } - } - }, - "required": [ - "hash", - "name" - ], - "short_name": "Name", - "title": "bevy_core::name::Name", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::bloom::settings::BloomCompositeMode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "EnergyConserving", - "Additive" - ], - "short_name": "BloomCompositeMode", - "title": "bevy_core_pipeline::bloom::settings::BloomCompositeMode", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_core_pipeline::bloom::settings::BloomPrefilterSettings": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "threshold": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "threshold_softness": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "threshold", - "threshold_softness" - ], - "short_name": "BloomPrefilterSettings", - "title": "bevy_core_pipeline::bloom::settings::BloomPrefilterSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::bloom::settings::BloomSettings": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "composite_mode": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::bloom::settings::BloomCompositeMode" - } - }, - "high_pass_frequency": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "intensity": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "low_frequency_boost": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "low_frequency_boost_curvature": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "prefilter_settings": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::bloom::settings::BloomPrefilterSettings" - } - } - }, - "required": [ - "intensity", - "low_frequency_boost", - "low_frequency_boost_curvature", - "high_pass_frequency", - "prefilter_settings", - "composite_mode" - ], - "short_name": "BloomSettings", - "title": "bevy_core_pipeline::bloom::settings::BloomSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::clear_color::ClearColor": { - "isComponent": false, - "isResource": true, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - } - ], - "short_name": "ClearColor", - "title": "bevy_core_pipeline::clear_color::ClearColor", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_core_pipeline::clear_color::ClearColorConfig": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "Default" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - } - ], - "short_name": "Custom", - "title": "Custom", - "type": "array", - "typeInfo": "Tuple" - }, - { - "title": "None" - } - ], - "short_name": "ClearColorConfig", - "title": "bevy_core_pipeline::clear_color::ClearColorConfig", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "denoise": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "enabled": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "sharpening_strength": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "enabled", - "sharpening_strength", - "denoise" - ], - "short_name": "ContrastAdaptiveSharpeningSettings", - "title": "bevy_core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::core_2d::camera_2d::Camera2d": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "clear_color": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::clear_color::ClearColorConfig" - } - } - }, - "required": [ - "clear_color" - ], - "short_name": "Camera2d", - "title": "bevy_core_pipeline::core_2d::camera_2d::Camera2d", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::core_3d::camera_3d::Camera3d": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "clear_color": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::clear_color::ClearColorConfig" - } - }, - "depth_load_op": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp" - } - }, - "depth_texture_usages": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthTextureUsage" - } - }, - "screen_space_specular_transmission_quality": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality" - } - }, - "screen_space_specular_transmission_steps": { - "type": { - "$ref": "#/$defs/usize" - } - } - }, - "required": [ - "clear_color", - "depth_load_op", - "depth_texture_usages", - "screen_space_specular_transmission_steps", - "screen_space_specular_transmission_quality" - ], - "short_name": "Camera3d", - "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3d", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Clear", - "title": "Clear", - "type": "array", - "typeInfo": "Tuple" - }, - { - "title": "Load" - } - ], - "short_name": "Camera3dDepthLoadOp", - "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_core_pipeline::fxaa::Fxaa": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "edge_threshold": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::fxaa::Sensitivity" - } - }, - "edge_threshold_min": { - "type": { - "$ref": "#/$defs/bevy_core_pipeline::fxaa::Sensitivity" - } - }, - "enabled": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "enabled", - "edge_threshold", - "edge_threshold_min" - ], - "short_name": "Fxaa", - "title": "bevy_core_pipeline::fxaa::Fxaa", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::prepass::DepthPrepass": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "DepthPrepass", - "title": "bevy_core_pipeline::prepass::DepthPrepass", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::prepass::NormalPrepass": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "NormalPrepass", - "title": "bevy_core_pipeline::prepass::NormalPrepass", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::tonemapping::DebandDither": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "Disabled", - "Enabled" - ], - "short_name": "DebandDither", - "title": "bevy_core_pipeline::tonemapping::DebandDither", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_core_pipeline::tonemapping::Tonemapping": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "None", - "Reinhard", - "ReinhardLuminance", - "AcesFitted", - "AgX", - "SomewhatBoringDisplayTransform", - "TonyMcMapface", - "BlenderFilmic" - ], - "short_name": "Tonemapping", - "title": "bevy_core_pipeline::tonemapping::Tonemapping", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ecs::Entity": { - "isComponent": false, - "isResource": false, - "short_name": "Entity", - "title": "bevy_ecs::Entity", - "type": "object", - "typeInfo": "Value" - }, - "bevy_egui::EguiSettings": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "default_open_url_target": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "scale_factor": { - "type": { - "$ref": "#/$defs/f64" - } - } - }, - "required": [ - "scale_factor" - ], - "short_name": "EguiSettings", - "title": "bevy_egui::EguiSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf::GltfExtras": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "value": { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - }, - "required": [ - "value" - ], - "short_name": "GltfExtras", - "title": "bevy_gltf::GltfExtras", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_blueprints::animation::Animations": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "named_animations": { - "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>" - } - } - }, - "required": [ - "named_animations" - ], - "short_name": "Animations", - "title": "bevy_gltf_blueprints::animation::Animations", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_blueprints::materials::MaterialInfo": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "name": { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - }, - "source": { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - }, - "required": [ - "name", - "source" - ], - "short_name": "MaterialInfo", - "title": "bevy_gltf_blueprints::materials::MaterialInfo", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_blueprints::spawn_from_blueprints::BlueprintName": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - ], - "short_name": "BlueprintName", - "title": "bevy_gltf_blueprints::spawn_from_blueprints::BlueprintName", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_gltf_blueprints::spawn_from_blueprints::SpawnHere": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "SpawnHere", - "title": "bevy_gltf_blueprints::spawn_from_blueprints::SpawnHere", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_worlflow_examples_common::core::camera::camera_replace_proxies::SSAOSettings": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "SSAOSettings", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_replace_proxies::SSAOSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackable": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "CameraTrackable", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackable", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTracking": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "offset": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - }, - "required": [ - "offset" - ], - "short_name": "CameraTracking", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTracking", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackingOffset": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - ], - "short_name": "CameraTrackingOffset", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackingOffset", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_gltf_worlflow_examples_common::core::lighting::lighting_replace_proxies::AmbientLightSettings": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "brightness": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - } - }, - "required": [ - "color", - "brightness" - ], - "short_name": "AmbientLightSettings", - "title": "bevy_gltf_worlflow_examples_common::core::lighting::lighting_replace_proxies::AmbientLightSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_worlflow_examples_common::core::lighting::lighting_replace_proxies::ShadowmapSettings": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "size": { - "type": { - "$ref": "#/$defs/usize" - } - } - }, - "required": [ - "size" - ], - "short_name": "ShadowmapSettings", - "title": "bevy_gltf_worlflow_examples_common::core::lighting::lighting_replace_proxies::ShadowmapSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_worlflow_examples_common::core::physics::physics_replace_proxies::AutoAABBCollider": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "Cuboid", - "Ball", - "Capsule" - ], - "short_name": "AutoAABBCollider", - "title": "bevy_gltf_worlflow_examples_common::core::physics::physics_replace_proxies::AutoAABBCollider", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_gltf_worlflow_examples_common::core::physics::physics_replace_proxies::Collider": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Ball", - "title": "Ball", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - ], - "short_name": "Cuboid", - "title": "Cuboid", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Capsule", - "title": "Capsule", - "type": "array", - "typeInfo": "Tuple" - }, - { - "title": "Mesh" - } - ], - "short_name": "Collider", - "title": "bevy_gltf_worlflow_examples_common::core::physics::physics_replace_proxies::Collider", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_gltf_worlflow_examples_common::game::picking::Pickable": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "Pickable", - "title": "bevy_gltf_worlflow_examples_common::game::picking::Pickable", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_gltf_worlflow_examples_common::game::player::Player": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "Player", - "title": "bevy_gltf_worlflow_examples_common::game::player::Player", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_hierarchy::components::children::Children": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/smallvec::SmallVec<[bevy_ecs::Entity; 8]>" - } - } - ], - "short_name": "Children", - "title": "bevy_hierarchy::components::children::Children", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_hierarchy::components::parent::Parent": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - ], - "short_name": "Parent", - "title": "bevy_hierarchy::components::parent::Parent", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_input::ButtonState": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Pressed", - "Released" - ], - "short_name": "ButtonState", - "title": "bevy_input::ButtonState", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_input::gamepad::AxisSettings": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "deadzone_lowerbound": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "deadzone_upperbound": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "livezone_lowerbound": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "livezone_upperbound": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "threshold": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "livezone_upperbound", - "deadzone_upperbound", - "deadzone_lowerbound", - "livezone_lowerbound", - "threshold" - ], - "short_name": "AxisSettings", - "title": "bevy_input::gamepad::AxisSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::gamepad::ButtonAxisSettings": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "high": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "low": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "threshold": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "high", - "low", - "threshold" - ], - "short_name": "ButtonAxisSettings", - "title": "bevy_input::gamepad::ButtonAxisSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::gamepad::ButtonSettings": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "press_threshold": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "release_threshold": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "press_threshold", - "release_threshold" - ], - "short_name": "ButtonSettings", - "title": "bevy_input::gamepad::ButtonSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::gamepad::Gamepad": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "id": { - "type": { - "$ref": "#/$defs/usize" - } - } - }, - "required": [ - "id" - ], - "short_name": "Gamepad", - "title": "bevy_input::gamepad::Gamepad", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::gamepad::GamepadAxis": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "axis_type": { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::GamepadAxisType" - } - }, - "gamepad": { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::Gamepad" - } - } - }, - "required": [ - "gamepad", - "axis_type" - ], - "short_name": "GamepadAxis", - "title": "bevy_input::gamepad::GamepadAxis", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::gamepad::GamepadAxisType": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "LeftStickX" - }, - { - "title": "LeftStickY" - }, - { - "title": "LeftZ" - }, - { - "title": "RightStickX" - }, - { - "title": "RightStickY" - }, - { - "title": "RightZ" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/u8" - } - } - ], - "short_name": "Other", - "title": "Other", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "GamepadAxisType", - "title": "bevy_input::gamepad::GamepadAxisType", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_input::gamepad::GamepadButton": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "button_type": { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::GamepadButtonType" - } - }, - "gamepad": { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::Gamepad" - } - } - }, - "required": [ - "gamepad", - "button_type" - ], - "short_name": "GamepadButton", - "title": "bevy_input::gamepad::GamepadButton", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::gamepad::GamepadButtonInput": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "button": { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::GamepadButton" - } - }, - "state": { - "type": { - "$ref": "#/$defs/bevy_input::ButtonState" - } - } - }, - "required": [ - "button", - "state" - ], - "short_name": "GamepadButtonInput", - "title": "bevy_input::gamepad::GamepadButtonInput", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::gamepad::GamepadButtonType": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "South" - }, - { - "title": "East" - }, - { - "title": "North" - }, - { - "title": "West" - }, - { - "title": "C" - }, - { - "title": "Z" - }, - { - "title": "LeftTrigger" - }, - { - "title": "LeftTrigger2" - }, - { - "title": "RightTrigger" - }, - { - "title": "RightTrigger2" - }, - { - "title": "Select" - }, - { - "title": "Start" - }, - { - "title": "Mode" - }, - { - "title": "LeftThumb" - }, - { - "title": "RightThumb" - }, - { - "title": "DPadUp" - }, - { - "title": "DPadDown" - }, - { - "title": "DPadLeft" - }, - { - "title": "DPadRight" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/u8" - } - } - ], - "short_name": "Other", - "title": "Other", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "GamepadButtonType", - "title": "bevy_input::gamepad::GamepadButtonType", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_input::gamepad::GamepadConnection": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::GamepadInfo" - } - } - ], - "short_name": "Connected", - "title": "Connected", - "type": "array", - "typeInfo": "Tuple" - }, - { - "title": "Disconnected" - } - ], - "short_name": "GamepadConnection", - "title": "bevy_input::gamepad::GamepadConnection", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_input::gamepad::GamepadSettings": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "axis_settings": { - "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" - } - }, - "button_axis_settings": { - "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" - } - }, - "button_settings": { - "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" - } - }, - "default_axis_settings": { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::AxisSettings" - } - }, - "default_button_axis_settings": { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::ButtonAxisSettings" - } - }, - "default_button_settings": { - "type": { - "$ref": "#/$defs/bevy_input::gamepad::ButtonSettings" - } - } - }, - "required": [ - "default_button_settings", - "default_axis_settings", - "default_button_axis_settings", - "button_settings", - "axis_settings", - "button_axis_settings" - ], - "short_name": "GamepadSettings", - "title": "bevy_input::gamepad::GamepadSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::keyboard::KeyCode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Key1", - "Key2", - "Key3", - "Key4", - "Key5", - "Key6", - "Key7", - "Key8", - "Key9", - "Key0", - "A", - "B", - "C", - "D", - "E", - "F", - "G", - "H", - "I", - "J", - "K", - "L", - "M", - "N", - "O", - "P", - "Q", - "R", - "S", - "T", - "U", - "V", - "W", - "X", - "Y", - "Z", - "Escape", - "F1", - "F2", - "F3", - "F4", - "F5", - "F6", - "F7", - "F8", - "F9", - "F10", - "F11", - "F12", - "F13", - "F14", - "F15", - "F16", - "F17", - "F18", - "F19", - "F20", - "F21", - "F22", - "F23", - "F24", - "Snapshot", - "Scroll", - "Pause", - "Insert", - "Home", - "Delete", - "End", - "PageDown", - "PageUp", - "Left", - "Up", - "Right", - "Down", - "Back", - "Return", - "Space", - "Compose", - "Caret", - "Numlock", - "Numpad0", - "Numpad1", - "Numpad2", - "Numpad3", - "Numpad4", - "Numpad5", - "Numpad6", - "Numpad7", - "Numpad8", - "Numpad9", - "AbntC1", - "AbntC2", - "NumpadAdd", - "Apostrophe", - "Apps", - "Asterisk", - "Plus", - "At", - "Ax", - "Backslash", - "Calculator", - "Capital", - "Colon", - "Comma", - "Convert", - "NumpadDecimal", - "NumpadDivide", - "Equals", - "Grave", - "Kana", - "Kanji", - "AltLeft", - "BracketLeft", - "ControlLeft", - "ShiftLeft", - "SuperLeft", - "Mail", - "MediaSelect", - "MediaStop", - "Minus", - "NumpadMultiply", - "Mute", - "MyComputer", - "NavigateForward", - "NavigateBackward", - "NextTrack", - "NoConvert", - "NumpadComma", - "NumpadEnter", - "NumpadEquals", - "Oem102", - "Period", - "PlayPause", - "Power", - "PrevTrack", - "AltRight", - "BracketRight", - "ControlRight", - "ShiftRight", - "SuperRight", - "Semicolon", - "Slash", - "Sleep", - "Stop", - "NumpadSubtract", - "Sysrq", - "Tab", - "Underline", - "Unlabeled", - "VolumeDown", - "VolumeUp", - "Wake", - "WebBack", - "WebFavorites", - "WebForward", - "WebHome", - "WebRefresh", - "WebSearch", - "WebStop", - "Yen", - "Copy", - "Paste", - "Cut" - ], - "short_name": "KeyCode", - "title": "bevy_input::keyboard::KeyCode", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_input::keyboard::KeyboardInput": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "key_code": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "scan_code": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "state": { - "type": { - "$ref": "#/$defs/bevy_input::ButtonState" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "scan_code", - "state", - "window" - ], - "short_name": "KeyboardInput", - "title": "bevy_input::keyboard::KeyboardInput", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::keyboard::ScanCode": { - "isComponent": false, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/u32" - } - } - ], - "short_name": "ScanCode", - "title": "bevy_input::keyboard::ScanCode", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_input::mouse::MouseButton": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "Left" - }, - { - "title": "Right" - }, - { - "title": "Middle" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/u16" - } - } - ], - "short_name": "Other", - "title": "Other", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "MouseButton", - "title": "bevy_input::mouse::MouseButton", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_input::mouse::MouseButtonInput": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "button": { - "type": { - "$ref": "#/$defs/bevy_input::mouse::MouseButton" - } - }, - "state": { - "type": { - "$ref": "#/$defs/bevy_input::ButtonState" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "button", - "state", - "window" - ], - "short_name": "MouseButtonInput", - "title": "bevy_input::mouse::MouseButtonInput", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::mouse::MouseMotion": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "delta": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "delta" - ], - "short_name": "MouseMotion", - "title": "bevy_input::mouse::MouseMotion", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::mouse::MouseScrollUnit": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Line", - "Pixel" - ], - "short_name": "MouseScrollUnit", - "title": "bevy_input::mouse::MouseScrollUnit", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_input::mouse::MouseWheel": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "unit": { - "type": { - "$ref": "#/$defs/bevy_input::mouse::MouseScrollUnit" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - }, - "x": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "unit", - "x", - "y", - "window" - ], - "short_name": "MouseWheel", - "title": "bevy_input::mouse::MouseWheel", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::touch::ForceTouch": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "altitude_angle": { - "title": "altitude_angle", - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "force": { - "title": "force", - "type": { - "$ref": "#/$defs/f64" - } - }, - "max_possible_force": { - "title": "max_possible_force", - "type": { - "$ref": "#/$defs/f64" - } - } - }, - "required": [ - "force", - "max_possible_force" - ], - "short_name": "Calibrated", - "title": "Calibrated", - "type": "object", - "typeInfo": "Struct" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f64" - } - } - ], - "short_name": "Normalized", - "title": "Normalized", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "ForceTouch", - "title": "bevy_input::touch::ForceTouch", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_input::touch::TouchInput": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "force": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "id": { - "type": { - "$ref": "#/$defs/u64" - } - }, - "phase": { - "type": { - "$ref": "#/$defs/bevy_input::touch::TouchPhase" - } - }, - "position": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "phase", - "position", - "id" - ], - "short_name": "TouchInput", - "title": "bevy_input::touch::TouchInput", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_input::touch::TouchPhase": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Started", - "Moved", - "Ended", - "Canceled" - ], - "short_name": "TouchPhase", - "title": "bevy_input::touch::TouchPhase", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_input::touchpad::TouchpadMagnify": { - "isComponent": false, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "TouchpadMagnify", - "title": "bevy_input::touchpad::TouchpadMagnify", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_input::touchpad::TouchpadRotate": { - "isComponent": false, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "TouchpadRotate", - "title": "bevy_input::touchpad::TouchpadRotate", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_math::Rect": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "max": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - }, - "min": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "min", - "max" - ], - "short_name": "Rect", - "title": "bevy_math::Rect", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::alpha::AlphaMode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "Opaque" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Mask", - "title": "Mask", - "type": "array", - "typeInfo": "Tuple" - }, - { - "title": "Blend" - }, - { - "title": "Premultiplied" - }, - { - "title": "Add" - }, - { - "title": "Multiply" - } - ], - "short_name": "AlphaMode", - "title": "bevy_pbr::alpha::AlphaMode", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_pbr::bundle::CascadesVisibleEntities": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "CascadesVisibleEntities", - "title": "bevy_pbr::bundle::CascadesVisibleEntities", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::bundle::CubemapVisibleEntities": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "CubemapVisibleEntities", - "title": "bevy_pbr::bundle::CubemapVisibleEntities", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::environment_map::EnvironmentMapLight": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "diffuse_map": { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - }, - "specular_map": { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - } - }, - "required": [ - "diffuse_map", - "specular_map" - ], - "short_name": "EnvironmentMapLight", - "title": "bevy_pbr::environment_map::EnvironmentMapLight", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::fog::FogSettings": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "directional_light_color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "directional_light_exponent": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "falloff": { - "type": { - "$ref": "#/$defs/bevy_pbr::fog::FogFalloff" - } - } - }, - "required": [ - "color", - "directional_light_color", - "directional_light_exponent", - "falloff" - ], - "short_name": "FogSettings", - "title": "bevy_pbr::fog::FogSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::AmbientLight": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "brightness": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - } - }, - "required": [ - "color", - "brightness" - ], - "short_name": "AmbientLight", - "title": "bevy_pbr::light::AmbientLight", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::Cascade": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "projection": { - "type": { - "$ref": "#/$defs/glam::Mat4" - } - }, - "texel_size": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "view_projection": { - "type": { - "$ref": "#/$defs/glam::Mat4" - } - }, - "view_transform": { - "type": { - "$ref": "#/$defs/glam::Mat4" - } - } - }, - "required": [ - "view_transform", - "projection", - "view_projection", - "texel_size" - ], - "short_name": "Cascade", - "title": "bevy_pbr::light::Cascade", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::CascadeShadowConfig": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "bounds": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - }, - "minimum_distance": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "overlap_proportion": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "bounds", - "overlap_proportion", - "minimum_distance" - ], - "short_name": "CascadeShadowConfig", - "title": "bevy_pbr::light::CascadeShadowConfig", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::Cascades": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "cascades": { - "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>" - } - } - }, - "required": [ - "cascades" - ], - "short_name": "Cascades", - "title": "bevy_pbr::light::Cascades", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::ClusterConfig": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "title": "Single" - }, - { - "additionalProperties": false, - "properties": { - "dimensions": { - "title": "dimensions", - "type": { - "$ref": "#/$defs/glam::UVec3" - } - }, - "dynamic_resizing": { - "title": "dynamic_resizing", - "type": { - "$ref": "#/$defs/bool" - } - }, - "z_config": { - "title": "z_config", - "type": { - "$ref": "#/$defs/bevy_pbr::light::ClusterZConfig" - } - } - }, - "required": [ - "dimensions", - "z_config", - "dynamic_resizing" - ], - "short_name": "XYZ", - "title": "XYZ", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "dynamic_resizing": { - "title": "dynamic_resizing", - "type": { - "$ref": "#/$defs/bool" - } - }, - "total": { - "title": "total", - "type": { - "$ref": "#/$defs/u32" - } - }, - "z_config": { - "title": "z_config", - "type": { - "$ref": "#/$defs/bevy_pbr::light::ClusterZConfig" - } - }, - "z_slices": { - "title": "z_slices", - "type": { - "$ref": "#/$defs/u32" - } - } - }, - "required": [ - "total", - "z_slices", - "z_config", - "dynamic_resizing" - ], - "short_name": "FixedZ", - "title": "FixedZ", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "ClusterConfig", - "title": "bevy_pbr::light::ClusterConfig", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_pbr::light::ClusterFarZMode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "MaxLightRange" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Constant", - "title": "Constant", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "ClusterFarZMode", - "title": "bevy_pbr::light::ClusterFarZMode", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_pbr::light::ClusterZConfig": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "far_z_mode": { - "type": { - "$ref": "#/$defs/bevy_pbr::light::ClusterFarZMode" - } - }, - "first_slice_depth": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "first_slice_depth", - "far_z_mode" - ], - "short_name": "ClusterZConfig", - "title": "bevy_pbr::light::ClusterZConfig", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::DirectionalLight": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "illuminance": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadow_depth_bias": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadow_normal_bias": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadows_enabled": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "color", - "illuminance", - "shadows_enabled", - "shadow_depth_bias", - "shadow_normal_bias" - ], - "short_name": "DirectionalLight", - "title": "bevy_pbr::light::DirectionalLight", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::DirectionalLightShadowMap": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "size": { - "type": { - "$ref": "#/$defs/usize" - } - } - }, - "required": [ - "size" - ], - "short_name": "DirectionalLightShadowMap", - "title": "bevy_pbr::light::DirectionalLightShadowMap", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::NotShadowCaster": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "NotShadowCaster", - "title": "bevy_pbr::light::NotShadowCaster", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::NotShadowReceiver": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "NotShadowReceiver", - "title": "bevy_pbr::light::NotShadowReceiver", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::PointLight": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "intensity": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "radius": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "range": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadow_depth_bias": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadow_normal_bias": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadows_enabled": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "color", - "intensity", - "range", - "radius", - "shadows_enabled", - "shadow_depth_bias", - "shadow_normal_bias" - ], - "short_name": "PointLight", - "title": "bevy_pbr::light::PointLight", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::PointLightShadowMap": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "size": { - "type": { - "$ref": "#/$defs/usize" - } - } - }, - "required": [ - "size" - ], - "short_name": "PointLightShadowMap", - "title": "bevy_pbr::light::PointLightShadowMap", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::light::ShadowFilteringMethod": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "Hardware2x2", - "Castano13", - "Jimenez14" - ], - "short_name": "ShadowFilteringMethod", - "title": "bevy_pbr::light::ShadowFilteringMethod", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_pbr::light::SpotLight": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "inner_angle": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "intensity": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "outer_angle": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "radius": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "range": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadow_depth_bias": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadow_normal_bias": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "shadows_enabled": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "color", - "intensity", - "range", - "radius", - "shadows_enabled", - "shadow_depth_bias", - "shadow_normal_bias", - "outer_angle", - "inner_angle" - ], - "short_name": "SpotLight", - "title": "bevy_pbr::light::SpotLight", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::material::DefaultOpaqueRendererMethod": { - "isComponent": false, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_pbr::material::OpaqueRendererMethod" - } - } - ], - "short_name": "DefaultOpaqueRendererMethod", - "title": "bevy_pbr::material::DefaultOpaqueRendererMethod", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_pbr::pbr_material::StandardMaterial": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "alpha_mode": { - "type": { - "$ref": "#/$defs/bevy_pbr::alpha::AlphaMode" - } - }, - "attenuation_color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "attenuation_distance": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "base_color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "base_color_texture": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - }, - "deferred_lighting_pass_id": { - "type": { - "$ref": "#/$defs/u8" - } - }, - "depth_bias": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "depth_map": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - }, - "diffuse_transmission": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "double_sided": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "emissive": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "emissive_texture": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - }, - "flip_normal_map_y": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "fog_enabled": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "ior": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "max_parallax_layer_count": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "metallic": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "metallic_roughness_texture": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - }, - "normal_map_texture": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - }, - "occlusion_texture": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - }, - "opaque_render_method": { - "type": { - "$ref": "#/$defs/bevy_pbr::material::OpaqueRendererMethod" - } - }, - "parallax_depth_scale": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "parallax_mapping_method": { - "type": { - "$ref": "#/$defs/bevy_pbr::parallax::ParallaxMappingMethod" - } - }, - "perceptual_roughness": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "reflectance": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "specular_transmission": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "thickness": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "unlit": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "base_color", - "emissive", - "perceptual_roughness", - "metallic", - "reflectance", - "diffuse_transmission", - "specular_transmission", - "thickness", - "ior", - "attenuation_distance", - "attenuation_color", - "flip_normal_map_y", - "double_sided", - "unlit", - "fog_enabled", - "alpha_mode", - "depth_bias", - "parallax_depth_scale", - "parallax_mapping_method", - "max_parallax_layer_count", - "opaque_render_method", - "deferred_lighting_pass_id" - ], - "short_name": "StandardMaterial", - "title": "bevy_pbr::pbr_material::StandardMaterial", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::ssao::ScreenSpaceAmbientOcclusionSettings": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "quality_level": { - "type": { - "$ref": "#/$defs/bevy_pbr::ssao::ScreenSpaceAmbientOcclusionQualityLevel" - } - } - }, - "required": [ - "quality_level" - ], - "short_name": "ScreenSpaceAmbientOcclusionSettings", - "title": "bevy_pbr::ssao::ScreenSpaceAmbientOcclusionSettings", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::wireframe::NoWireframe": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "NoWireframe", - "title": "bevy_pbr::wireframe::NoWireframe", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::wireframe::Wireframe": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "Wireframe", - "title": "bevy_pbr::wireframe::Wireframe", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_pbr::wireframe::WireframeConfig": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "default_color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "global": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "global", - "default_color" - ], - "short_name": "WireframeConfig", - "title": "bevy_pbr::wireframe::WireframeConfig", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::dynamics::rigid_body::AdditionalMassProperties": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Mass", - "title": "Mass", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_rapier3d::dynamics::rigid_body::MassProperties" - } - } - ], - "short_name": "MassProperties", - "title": "MassProperties", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "AdditionalMassProperties", - "title": "bevy_rapier3d::dynamics::rigid_body::AdditionalMassProperties", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_rapier3d::dynamics::rigid_body::Ccd": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "enabled": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "enabled" - ], - "short_name": "Ccd", - "title": "bevy_rapier3d::dynamics::rigid_body::Ccd", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::dynamics::rigid_body::Damping": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "angular_damping": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "linear_damping": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "linear_damping", - "angular_damping" - ], - "short_name": "Damping", - "title": "bevy_rapier3d::dynamics::rigid_body::Damping", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::dynamics::rigid_body::Dominance": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "groups": { - "type": { - "$ref": "#/$defs/i8" - } - } - }, - "required": [ - "groups" - ], - "short_name": "Dominance", - "title": "bevy_rapier3d::dynamics::rigid_body::Dominance", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::dynamics::rigid_body::ExternalForce": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "force": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "torque": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - }, - "required": [ - "force", - "torque" - ], - "short_name": "ExternalForce", - "title": "bevy_rapier3d::dynamics::rigid_body::ExternalForce", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::dynamics::rigid_body::ExternalImpulse": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "impulse": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "torque_impulse": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - }, - "required": [ - "impulse", - "torque_impulse" - ], - "short_name": "ExternalImpulse", - "title": "bevy_rapier3d::dynamics::rigid_body::ExternalImpulse", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::dynamics::rigid_body::GravityScale": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "GravityScale", - "title": "bevy_rapier3d::dynamics::rigid_body::GravityScale", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_rapier3d::dynamics::rigid_body::LockedAxes": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/u8" - } - } - ], - "short_name": "LockedAxes", - "title": "bevy_rapier3d::dynamics::rigid_body::LockedAxes", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_rapier3d::dynamics::rigid_body::MassProperties": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "local_center_of_mass": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "mass": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "principal_inertia": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "principal_inertia_local_frame": { - "type": { - "$ref": "#/$defs/glam::Quat" - } - } - }, - "required": [ - "local_center_of_mass", - "mass", - "principal_inertia_local_frame", - "principal_inertia" - ], - "short_name": "MassProperties", - "title": "bevy_rapier3d::dynamics::rigid_body::MassProperties", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::dynamics::rigid_body::RigidBody": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "Dynamic", - "Fixed", - "KinematicPositionBased", - "KinematicVelocityBased" - ], - "short_name": "RigidBody", - "title": "bevy_rapier3d::dynamics::rigid_body::RigidBody", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_rapier3d::dynamics::rigid_body::Sleeping": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "angular_threshold": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "linear_threshold": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "sleeping": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "linear_threshold", - "angular_threshold", - "sleeping" - ], - "short_name": "Sleeping", - "title": "bevy_rapier3d::dynamics::rigid_body::Sleeping", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::dynamics::rigid_body::Velocity": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "angvel": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "linvel": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - }, - "required": [ - "linvel", - "angvel" - ], - "short_name": "Velocity", - "title": "bevy_rapier3d::dynamics::rigid_body::Velocity", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::geometry::collider::CollidingEntities": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_utils::HashSet" - } - } - ], - "short_name": "CollidingEntities", - "title": "bevy_rapier3d::geometry::collider::CollidingEntities", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_rapier3d::geometry::collider::CollisionGroups": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "filters": { - "type": { - "$ref": "#/$defs/bevy_rapier3d::geometry::collider::Group" - } - }, - "memberships": { - "type": { - "$ref": "#/$defs/bevy_rapier3d::geometry::collider::Group" - } - } - }, - "required": [ - "memberships", - "filters" - ], - "short_name": "CollisionGroups", - "title": "bevy_rapier3d::geometry::collider::CollisionGroups", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::geometry::collider::ContactForceEventThreshold": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "ContactForceEventThreshold", - "title": "bevy_rapier3d::geometry::collider::ContactForceEventThreshold", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_rapier3d::geometry::collider::Friction": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "coefficient": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "combine_rule": { - "type": { - "$ref": "#/$defs/bevy_rapier3d::dynamics::CoefficientCombineRule" - } - } - }, - "required": [ - "coefficient", - "combine_rule" - ], - "short_name": "Friction", - "title": "bevy_rapier3d::geometry::collider::Friction", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::geometry::collider::Group": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/u32" - } - } - ], - "short_name": "Group", - "title": "bevy_rapier3d::geometry::collider::Group", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_rapier3d::geometry::collider::Restitution": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "coefficient": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "combine_rule": { - "type": { - "$ref": "#/$defs/bevy_rapier3d::dynamics::CoefficientCombineRule" - } - } - }, - "required": [ - "coefficient", - "combine_rule" - ], - "short_name": "Restitution", - "title": "bevy_rapier3d::geometry::collider::Restitution", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::geometry::collider::Sensor": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "Sensor", - "title": "bevy_rapier3d::geometry::collider::Sensor", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::geometry::collider::SolverGroups": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "filters": { - "type": { - "$ref": "#/$defs/bevy_rapier3d::geometry::collider::Group" - } - }, - "memberships": { - "type": { - "$ref": "#/$defs/bevy_rapier3d::geometry::collider::Group" - } - } - }, - "required": [ - "memberships", - "filters" - ], - "short_name": "SolverGroups", - "title": "bevy_rapier3d::geometry::collider::SolverGroups", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_rapier3d::render::DebugRenderContext": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "enabled": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "enabled" - ], - "short_name": "DebugRenderContext", - "title": "bevy_rapier3d::render::DebugRenderContext", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::camera::camera::Camera": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "hdr": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "is_active": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "msaa_writeback": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "order": { - "type": { - "$ref": "#/$defs/isize" - } - }, - "viewport": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - } - }, - "required": [ - "order", - "is_active", - "hdr", - "msaa_writeback" - ], - "short_name": "Camera", - "title": "bevy_render::camera::camera::Camera", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::camera::camera::CameraRenderGraph": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::borrow::Cow" - } - } - ], - "short_name": "CameraRenderGraph", - "title": "bevy_render::camera::camera::CameraRenderGraph", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_render::camera::camera::RenderTarget": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_window::window::WindowRef" - } - } - ], - "short_name": "Window", - "title": "Window", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - } - ], - "short_name": "Image", - "title": "Image", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::camera::manual_texture_view::ManualTextureViewHandle" - } - } - ], - "short_name": "TextureView", - "title": "TextureView", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "RenderTarget", - "title": "bevy_render::camera::camera::RenderTarget", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_render::camera::camera::Viewport": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "depth": { - "type": { - "$ref": "#/$defs/core::ops::Range" - } - }, - "physical_position": { - "type": { - "$ref": "#/$defs/glam::UVec2" - } - }, - "physical_size": { - "type": { - "$ref": "#/$defs/glam::UVec2" - } - } - }, - "required": [ - "physical_position", - "physical_size", - "depth" - ], - "short_name": "Viewport", - "title": "bevy_render::camera::camera::Viewport", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::camera::projection::OrthographicProjection": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "area": { - "type": { - "$ref": "#/$defs/bevy_math::Rect" - } - }, - "far": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "near": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "scale": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "scaling_mode": { - "type": { - "$ref": "#/$defs/bevy_render::camera::projection::ScalingMode" - } - }, - "viewport_origin": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "near", - "far", - "viewport_origin", - "scaling_mode", - "scale", - "area" - ], - "short_name": "OrthographicProjection", - "title": "bevy_render::camera::projection::OrthographicProjection", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::camera::projection::PerspectiveProjection": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "aspect_ratio": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "far": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "fov": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "near": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "fov", - "aspect_ratio", - "near", - "far" - ], - "short_name": "PerspectiveProjection", - "title": "bevy_render::camera::projection::PerspectiveProjection", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::camera::projection::Projection": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::camera::projection::PerspectiveProjection" - } - } - ], - "short_name": "Perspective", - "title": "Perspective", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::camera::projection::OrthographicProjection" - } - } - ], - "short_name": "Orthographic", - "title": "Orthographic", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Projection", - "title": "bevy_render::camera::projection::Projection", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_render::camera::projection::ScalingMode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "height": { - "title": "height", - "type": { - "$ref": "#/$defs/f32" - } - }, - "width": { - "title": "width", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "width", - "height" - ], - "short_name": "Fixed", - "title": "Fixed", - "type": "object", - "typeInfo": "Struct" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "WindowSize", - "title": "WindowSize", - "type": "array", - "typeInfo": "Tuple" - }, - { - "additionalProperties": false, - "properties": { - "min_height": { - "title": "min_height", - "type": { - "$ref": "#/$defs/f32" - } - }, - "min_width": { - "title": "min_width", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "min_width", - "min_height" - ], - "short_name": "AutoMin", - "title": "AutoMin", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "max_height": { - "title": "max_height", - "type": { - "$ref": "#/$defs/f32" - } - }, - "max_width": { - "title": "max_width", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "max_width", - "max_height" - ], - "short_name": "AutoMax", - "title": "AutoMax", - "type": "object", - "typeInfo": "Struct" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "FixedVertical", - "title": "FixedVertical", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "FixedHorizontal", - "title": "FixedHorizontal", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "ScalingMode", - "title": "bevy_render::camera::projection::ScalingMode", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_render::color::Color": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "alpha": { - "title": "alpha", - "type": { - "$ref": "#/$defs/f32" - } - }, - "blue": { - "title": "blue", - "type": { - "$ref": "#/$defs/f32" - } - }, - "green": { - "title": "green", - "type": { - "$ref": "#/$defs/f32" - } - }, - "red": { - "title": "red", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "red", - "green", - "blue", - "alpha" - ], - "short_name": "Rgba", - "title": "Rgba", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "alpha": { - "title": "alpha", - "type": { - "$ref": "#/$defs/f32" - } - }, - "blue": { - "title": "blue", - "type": { - "$ref": "#/$defs/f32" - } - }, - "green": { - "title": "green", - "type": { - "$ref": "#/$defs/f32" - } - }, - "red": { - "title": "red", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "red", - "green", - "blue", - "alpha" - ], - "short_name": "RgbaLinear", - "title": "RgbaLinear", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "alpha": { - "title": "alpha", - "type": { - "$ref": "#/$defs/f32" - } - }, - "hue": { - "title": "hue", - "type": { - "$ref": "#/$defs/f32" - } - }, - "lightness": { - "title": "lightness", - "type": { - "$ref": "#/$defs/f32" - } - }, - "saturation": { - "title": "saturation", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "hue", - "saturation", - "lightness", - "alpha" - ], - "short_name": "Hsla", - "title": "Hsla", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "alpha": { - "title": "alpha", - "type": { - "$ref": "#/$defs/f32" - } - }, - "chroma": { - "title": "chroma", - "type": { - "$ref": "#/$defs/f32" - } - }, - "hue": { - "title": "hue", - "type": { - "$ref": "#/$defs/f32" - } - }, - "lightness": { - "title": "lightness", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "lightness", - "chroma", - "hue", - "alpha" - ], - "short_name": "Lcha", - "title": "Lcha", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "Color", - "title": "bevy_render::color::Color", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_render::globals::GlobalsUniform": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "delta_time": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "frame_count": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "time": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "time", - "delta_time", - "frame_count" - ], - "short_name": "GlobalsUniform", - "title": "bevy_render::globals::GlobalsUniform", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::mesh::mesh::Indices": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - ], - "short_name": "U16", - "title": "U16", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - ], - "short_name": "U32", - "title": "U32", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Indices", - "title": "bevy_render::mesh::mesh::Indices", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_render::mesh::mesh::Mesh": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "indices": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "morph_target_names": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - }, - "morph_targets": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - } - }, - "required": [], - "short_name": "Mesh", - "title": "bevy_render::mesh::mesh::Mesh", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::mesh::mesh::skinning::SkinnedMesh": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "inverse_bindposes": { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - }, - "joints": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - }, - "required": [ - "inverse_bindposes", - "joints" - ], - "short_name": "SkinnedMesh", - "title": "bevy_render::mesh::mesh::skinning::SkinnedMesh", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::mesh::morph::MeshMorphWeights": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "weights": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - }, - "required": [ - "weights" - ], - "short_name": "MeshMorphWeights", - "title": "bevy_render::mesh::morph::MeshMorphWeights", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::mesh::morph::MorphWeights": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "first_mesh": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - }, - "weights": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - }, - "required": [ - "weights" - ], - "short_name": "MorphWeights", - "title": "bevy_render::mesh::morph::MorphWeights", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::primitives::Aabb": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "center": { - "type": { - "$ref": "#/$defs/glam::Vec3A" - } - }, - "half_extents": { - "type": { - "$ref": "#/$defs/glam::Vec3A" - } - } - }, - "required": [ - "center", - "half_extents" - ], - "short_name": "Aabb", - "title": "bevy_render::primitives::Aabb", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::primitives::CascadesFrusta": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "CascadesFrusta", - "title": "bevy_render::primitives::CascadesFrusta", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::primitives::CubemapFrusta": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "CubemapFrusta", - "title": "bevy_render::primitives::CubemapFrusta", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::primitives::Frustum": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "Frustum", - "title": "bevy_render::primitives::Frustum", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::texture::image::Image": { - "isComponent": false, - "isResource": false, - "short_name": "Image", - "title": "bevy_render::texture::image::Image", - "type": "object", - "typeInfo": "Value" - }, - "bevy_render::view::ColorGrading": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "exposure": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "gamma": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "post_saturation": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "pre_saturation": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "exposure", - "gamma", - "pre_saturation", - "post_saturation" - ], - "short_name": "ColorGrading", - "title": "bevy_render::view::ColorGrading", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::view::Msaa": { - "isComponent": false, - "isResource": true, - "oneOf": [ - "Off", - "Sample2", - "Sample4", - "Sample8" - ], - "short_name": "Msaa", - "title": "bevy_render::view::Msaa", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_render::view::visibility::InheritedVisibility": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bool" - } - } - ], - "short_name": "InheritedVisibility", - "title": "bevy_render::view::visibility::InheritedVisibility", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_render::view::visibility::NoFrustumCulling": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "NoFrustumCulling", - "title": "bevy_render::view::visibility::NoFrustumCulling", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::view::visibility::ViewVisibility": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bool" - } - } - ], - "short_name": "ViewVisibility", - "title": "bevy_render::view::visibility::ViewVisibility", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_render::view::visibility::Visibility": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "Inherited", - "Hidden", - "Visible" - ], - "short_name": "Visibility", - "title": "bevy_render::view::visibility::Visibility", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_render::view::visibility::VisibleEntities": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "VisibleEntities", - "title": "bevy_render::view::visibility::VisibleEntities", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_render::view::visibility::render_layers::RenderLayers": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/u32" - } - } - ], - "short_name": "RenderLayers", - "title": "bevy_render::view::visibility::render_layers::RenderLayers", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_sprite::mesh2d::color_material::ColorMaterial": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "texture": { - "type": { - "$ref": "#/$defs/core::option::Option>" - } - } - }, - "required": [ - "color" - ], - "short_name": "ColorMaterial", - "title": "bevy_sprite::mesh2d::color_material::ColorMaterial", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_sprite::mesh2d::mesh::Mesh2dHandle": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - } - ], - "short_name": "Mesh2dHandle", - "title": "bevy_sprite::mesh2d::mesh::Mesh2dHandle", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_sprite::sprite::Anchor": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "Center" - }, - { - "title": "BottomLeft" - }, - { - "title": "BottomCenter" - }, - { - "title": "BottomRight" - }, - { - "title": "CenterLeft" - }, - { - "title": "CenterRight" - }, - { - "title": "TopLeft" - }, - { - "title": "TopCenter" - }, - { - "title": "TopRight" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - ], - "short_name": "Custom", - "title": "Custom", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Anchor", - "title": "bevy_sprite::sprite::Anchor", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_sprite::sprite::Sprite": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "anchor": { - "type": { - "$ref": "#/$defs/bevy_sprite::sprite::Anchor" - } - }, - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "custom_size": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "flip_x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "flip_y": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "rect": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - } - }, - "required": [ - "color", - "flip_x", - "flip_y", - "anchor" - ], - "short_name": "Sprite", - "title": "bevy_sprite::sprite::Sprite", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_sprite::texture_atlas::TextureAtlas": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "size": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - }, - "texture": { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - }, - "texture_handles": { - "type": { - "$ref": "#/$defs/core::option::Option, usize, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>>" - } - }, - "textures": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - }, - "required": [ - "texture", - "size", - "textures" - ], - "short_name": "TextureAtlas", - "title": "bevy_sprite::texture_atlas::TextureAtlas", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_sprite::texture_atlas::TextureAtlasSprite": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "anchor": { - "type": { - "$ref": "#/$defs/bevy_sprite::sprite::Anchor" - } - }, - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "custom_size": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "flip_x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "flip_y": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "index": { - "type": { - "$ref": "#/$defs/usize" - } - } - }, - "required": [ - "color", - "index", - "flip_x", - "flip_y", - "anchor" - ], - "short_name": "TextureAtlasSprite", - "title": "bevy_sprite::texture_atlas::TextureAtlasSprite", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_text::pipeline::TextLayoutInfo": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "glyphs": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - }, - "logical_size": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "glyphs", - "logical_size" - ], - "short_name": "TextLayoutInfo", - "title": "bevy_text::pipeline::TextLayoutInfo", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_text::text2d::Text2dBounds": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "size": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "size" - ], - "short_name": "Text2dBounds", - "title": "bevy_text::text2d::Text2dBounds", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_text::text::BreakLineOn": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "WordBoundary", - "AnyCharacter", - "NoWrap" - ], - "short_name": "BreakLineOn", - "title": "bevy_text::text::BreakLineOn", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_text::text::Text": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "alignment": { - "type": { - "$ref": "#/$defs/bevy_text::text::TextAlignment" - } - }, - "linebreak_behavior": { - "type": { - "$ref": "#/$defs/bevy_text::text::BreakLineOn" - } - }, - "sections": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - }, - "required": [ - "sections", - "alignment", - "linebreak_behavior" - ], - "short_name": "Text", - "title": "bevy_text::text::Text", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_text::text::TextAlignment": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Left", - "Center", - "Right" - ], - "short_name": "TextAlignment", - "title": "bevy_text::text::TextAlignment", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_text::text::TextSection": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "style": { - "type": { - "$ref": "#/$defs/bevy_text::text::TextStyle" - } - }, - "value": { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - }, - "required": [ - "value", - "style" - ], - "short_name": "TextSection", - "title": "bevy_text::text::TextSection", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_text::text::TextStyle": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "font": { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - }, - "font_size": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "font", - "font_size", - "color" - ], - "short_name": "TextStyle", - "title": "bevy_text::text::TextStyle", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_time::stopwatch::Stopwatch": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "elapsed": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "paused": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "elapsed", - "paused" - ], - "short_name": "Stopwatch", - "title": "bevy_time::stopwatch::Stopwatch", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_time::time::Time<()>": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "context": { - "type": { - "$ref": "#/$defs/()" - } - }, - "delta": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "delta_seconds": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "delta_seconds_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "elapsed_seconds": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "elapsed_seconds_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed_seconds_wrapped": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "elapsed_seconds_wrapped_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed_wrapped": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "wrap_period": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - } - }, - "required": [ - "context", - "wrap_period", - "delta", - "delta_seconds", - "delta_seconds_f64", - "elapsed", - "elapsed_seconds", - "elapsed_seconds_f64", - "elapsed_wrapped", - "elapsed_seconds_wrapped", - "elapsed_seconds_wrapped_f64" - ], - "short_name": "Time<()>", - "title": "bevy_time::time::Time<()>", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_time::time::Time": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "context": { - "type": { - "$ref": "#/$defs/bevy_time::fixed::Fixed" - } - }, - "delta": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "delta_seconds": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "delta_seconds_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "elapsed_seconds": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "elapsed_seconds_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed_seconds_wrapped": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "elapsed_seconds_wrapped_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed_wrapped": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "wrap_period": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - } - }, - "required": [ - "context", - "wrap_period", - "delta", - "delta_seconds", - "delta_seconds_f64", - "elapsed", - "elapsed_seconds", - "elapsed_seconds_f64", - "elapsed_wrapped", - "elapsed_seconds_wrapped", - "elapsed_seconds_wrapped_f64" - ], - "short_name": "Time", - "title": "bevy_time::time::Time", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_time::time::Time": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "context": { - "type": { - "$ref": "#/$defs/bevy_time::real::Real" - } - }, - "delta": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "delta_seconds": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "delta_seconds_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "elapsed_seconds": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "elapsed_seconds_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed_seconds_wrapped": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "elapsed_seconds_wrapped_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed_wrapped": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "wrap_period": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - } - }, - "required": [ - "context", - "wrap_period", - "delta", - "delta_seconds", - "delta_seconds_f64", - "elapsed", - "elapsed_seconds", - "elapsed_seconds_f64", - "elapsed_wrapped", - "elapsed_seconds_wrapped", - "elapsed_seconds_wrapped_f64" - ], - "short_name": "Time", - "title": "bevy_time::time::Time", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_time::time::Time": { - "additionalProperties": false, - "isComponent": false, - "isResource": true, - "properties": { - "context": { - "type": { - "$ref": "#/$defs/bevy_time::virt::Virtual" - } - }, - "delta": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "delta_seconds": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "delta_seconds_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "elapsed_seconds": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "elapsed_seconds_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed_seconds_wrapped": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "elapsed_seconds_wrapped_f64": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "elapsed_wrapped": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "wrap_period": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - } - }, - "required": [ - "context", - "wrap_period", - "delta", - "delta_seconds", - "delta_seconds_f64", - "elapsed", - "elapsed_seconds", - "elapsed_seconds_f64", - "elapsed_wrapped", - "elapsed_seconds_wrapped", - "elapsed_seconds_wrapped_f64" - ], - "short_name": "Time", - "title": "bevy_time::time::Time", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_time::timer::Timer": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "duration": { - "type": { - "$ref": "#/$defs/bevy_utils::Duration" - } - }, - "finished": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "mode": { - "type": { - "$ref": "#/$defs/bevy_time::timer::TimerMode" - } - }, - "stopwatch": { - "type": { - "$ref": "#/$defs/bevy_time::stopwatch::Stopwatch" - } - }, - "times_finished_this_tick": { - "type": { - "$ref": "#/$defs/u32" - } - } - }, - "required": [ - "stopwatch", - "duration", - "mode", - "finished", - "times_finished_this_tick" - ], - "short_name": "Timer", - "title": "bevy_time::timer::Timer", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_transform::components::global_transform::GlobalTransform": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::Affine3A" - } - } - ], - "short_name": "GlobalTransform", - "title": "bevy_transform::components::global_transform::GlobalTransform", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_transform::components::transform::Transform": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "rotation": { - "type": { - "$ref": "#/$defs/glam::Quat" - } - }, - "scale": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "translation": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - }, - "required": [ - "translation", - "rotation", - "scale" - ], - "short_name": "Transform", - "title": "bevy_transform::components::transform::Transform", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::UiScale": { - "isComponent": false, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f64" - } - } - ], - "short_name": "UiScale", - "title": "bevy_ui::UiScale", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_ui::camera_config::UiCameraConfig": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "show_ui": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "show_ui" - ], - "short_name": "UiCameraConfig", - "title": "bevy_ui::camera_config::UiCameraConfig", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::focus::FocusPolicy": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "Block", - "Pass" - ], - "short_name": "FocusPolicy", - "title": "bevy_ui::focus::FocusPolicy", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::focus::Interaction": { - "isComponent": true, - "isResource": false, - "oneOf": [ - "Pressed", - "Hovered", - "None" - ], - "short_name": "Interaction", - "title": "bevy_ui::focus::Interaction", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::focus::RelativeCursorPosition": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "normalized": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "normalized_visible_node_rect": { - "type": { - "$ref": "#/$defs/bevy_math::Rect" - } - } - }, - "required": [ - "normalized_visible_node_rect" - ], - "short_name": "RelativeCursorPosition", - "title": "bevy_ui::focus::RelativeCursorPosition", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::geometry::UiRect": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "bottom": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "left": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "right": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "top": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - } - }, - "required": [ - "left", - "right", - "top", - "bottom" - ], - "short_name": "UiRect", - "title": "bevy_ui::geometry::UiRect", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::geometry::Val": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "Auto" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Px", - "title": "Px", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Percent", - "title": "Percent", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Vw", - "title": "Vw", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Vh", - "title": "Vh", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "VMin", - "title": "VMin", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "VMax", - "title": "VMax", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Val", - "title": "bevy_ui::geometry::Val", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_ui::measurement::ContentSize": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "ContentSize", - "title": "bevy_ui::measurement::ContentSize", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::AlignContent": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Default", - "Start", - "End", - "FlexStart", - "FlexEnd", - "Center", - "Stretch", - "SpaceBetween", - "SpaceEvenly", - "SpaceAround" - ], - "short_name": "AlignContent", - "title": "bevy_ui::ui_node::AlignContent", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::AlignItems": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Default", - "Start", - "End", - "FlexStart", - "FlexEnd", - "Center", - "Baseline", - "Stretch" - ], - "short_name": "AlignItems", - "title": "bevy_ui::ui_node::AlignItems", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::AlignSelf": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Auto", - "Start", - "End", - "FlexStart", - "FlexEnd", - "Center", - "Baseline", - "Stretch" - ], - "short_name": "AlignSelf", - "title": "bevy_ui::ui_node::AlignSelf", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::BackgroundColor": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - } - ], - "short_name": "BackgroundColor", - "title": "bevy_ui::ui_node::BackgroundColor", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_ui::ui_node::BorderColor": { - "isComponent": true, - "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - } - ], - "short_name": "BorderColor", - "title": "bevy_ui::ui_node::BorderColor", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_ui::ui_node::CalculatedClip": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "clip": { - "type": { - "$ref": "#/$defs/bevy_math::Rect" - } - } - }, - "required": [ - "clip" - ], - "short_name": "CalculatedClip", - "title": "bevy_ui::ui_node::CalculatedClip", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::Direction": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Inherit", - "LeftToRight", - "RightToLeft" - ], - "short_name": "Direction", - "title": "bevy_ui::ui_node::Direction", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::Display": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Flex", - "Grid", - "None" - ], - "short_name": "Display", - "title": "bevy_ui::ui_node::Display", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::FlexDirection": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Row", - "Column", - "RowReverse", - "ColumnReverse" - ], - "short_name": "FlexDirection", - "title": "bevy_ui::ui_node::FlexDirection", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::FlexWrap": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "NoWrap", - "Wrap", - "WrapReverse" - ], - "short_name": "FlexWrap", - "title": "bevy_ui::ui_node::FlexWrap", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::GridAutoFlow": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Row", - "Column", - "RowDense", - "ColumnDense" - ], - "short_name": "GridAutoFlow", - "title": "bevy_ui::ui_node::GridAutoFlow", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::GridPlacement": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "end": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "span": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "start": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - } - }, - "required": [], - "short_name": "GridPlacement", - "title": "bevy_ui::ui_node::GridPlacement", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::GridTrack": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "max_sizing_function": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::MaxTrackSizingFunction" - } - }, - "min_sizing_function": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::MinTrackSizingFunction" - } - } - }, - "required": [ - "min_sizing_function", - "max_sizing_function" - ], - "short_name": "GridTrack", - "title": "bevy_ui::ui_node::GridTrack", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::JustifyContent": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Default", - "Start", - "End", - "FlexStart", - "FlexEnd", - "Center", - "Stretch", - "SpaceBetween", - "SpaceEvenly", - "SpaceAround" - ], - "short_name": "JustifyContent", - "title": "bevy_ui::ui_node::JustifyContent", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::JustifyItems": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Default", - "Start", - "End", - "Center", - "Baseline", - "Stretch" - ], - "short_name": "JustifyItems", - "title": "bevy_ui::ui_node::JustifyItems", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::JustifySelf": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Auto", - "Start", - "End", - "Center", - "Baseline", - "Stretch" - ], - "short_name": "JustifySelf", - "title": "bevy_ui::ui_node::JustifySelf", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::Node": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "calculated_size": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - }, - "outline_offset": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "outline_width": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "stack_index": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "unrounded_size": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "stack_index", - "calculated_size", - "outline_width", - "outline_offset", - "unrounded_size" - ], - "short_name": "Node", - "title": "bevy_ui::ui_node::Node", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::Outline": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "offset": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "width": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - } - }, - "required": [ - "width", - "offset", - "color" - ], - "short_name": "Outline", - "title": "bevy_ui::ui_node::Outline", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::Overflow": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::OverflowAxis" - } - }, - "y": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::OverflowAxis" - } - } - }, - "required": [ - "x", - "y" - ], - "short_name": "Overflow", - "title": "bevy_ui::ui_node::Overflow", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::OverflowAxis": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Visible", - "Clip" - ], - "short_name": "OverflowAxis", - "title": "bevy_ui::ui_node::OverflowAxis", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::PositionType": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Relative", - "Absolute" - ], - "short_name": "PositionType", - "title": "bevy_ui::ui_node::PositionType", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_ui::ui_node::RepeatedGridTrack": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "repetition": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::GridTrackRepetition" - } - }, - "tracks": { - "type": { - "$ref": "#/$defs/smallvec::SmallVec<[bevy_ui::ui_node::GridTrack; 1]>" - } - } - }, - "required": [ - "repetition", - "tracks" - ], - "short_name": "RepeatedGridTrack", - "title": "bevy_ui::ui_node::RepeatedGridTrack", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::Style": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "align_content": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::AlignContent" - } - }, - "align_items": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::AlignItems" - } - }, - "align_self": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::AlignSelf" - } - }, - "aspect_ratio": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "border": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::UiRect" - } - }, - "bottom": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "column_gap": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "direction": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::Direction" - } - }, - "display": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::Display" - } - }, - "flex_basis": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "flex_direction": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::FlexDirection" - } - }, - "flex_grow": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "flex_shrink": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "flex_wrap": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::FlexWrap" - } - }, - "grid_auto_columns": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - }, - "grid_auto_flow": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::GridAutoFlow" - } - }, - "grid_auto_rows": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - }, - "grid_column": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::GridPlacement" - } - }, - "grid_row": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::GridPlacement" - } - }, - "grid_template_columns": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - }, - "grid_template_rows": { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - }, - "height": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "justify_content": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::JustifyContent" - } - }, - "justify_items": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::JustifyItems" - } - }, - "justify_self": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::JustifySelf" - } - }, - "left": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "margin": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::UiRect" - } - }, - "max_height": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "max_width": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "min_height": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "min_width": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "overflow": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::Overflow" - } - }, - "padding": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::UiRect" - } - }, - "position_type": { - "type": { - "$ref": "#/$defs/bevy_ui::ui_node::PositionType" - } - }, - "right": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "row_gap": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "top": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - }, - "width": { - "type": { - "$ref": "#/$defs/bevy_ui::geometry::Val" - } - } - }, - "required": [ - "display", - "position_type", - "overflow", - "direction", - "left", - "right", - "top", - "bottom", - "width", - "height", - "min_width", - "min_height", - "max_width", - "max_height", - "align_items", - "justify_items", - "align_self", - "justify_self", - "align_content", - "justify_content", - "margin", - "padding", - "border", - "flex_direction", - "flex_wrap", - "flex_grow", - "flex_shrink", - "flex_basis", - "row_gap", - "column_gap", - "grid_auto_flow", - "grid_template_rows", - "grid_template_columns", - "grid_auto_rows", - "grid_auto_columns", - "grid_row", - "grid_column" - ], - "short_name": "Style", - "title": "bevy_ui::ui_node::Style", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::UiImage": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "flip_x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "flip_y": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "texture": { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - } - }, - "required": [ - "texture", - "flip_x", - "flip_y" - ], - "short_name": "UiImage", - "title": "bevy_ui::ui_node::UiImage", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::UiTextureAtlasImage": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "flip_x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "flip_y": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "index": { - "type": { - "$ref": "#/$defs/usize" - } - } - }, - "required": [ - "index", - "flip_x", - "flip_y" - ], - "short_name": "UiTextureAtlasImage", - "title": "bevy_ui::ui_node::UiTextureAtlasImage", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::ui_node::ZIndex": { - "isComponent": true, - "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/i32" - } - } - ], - "short_name": "Local", - "title": "Local", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/i32" - } - } - ], - "short_name": "Global", - "title": "Global", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "ZIndex", - "title": "bevy_ui::ui_node::ZIndex", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_ui::widget::button::Button": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "Button", - "title": "bevy_ui::widget::button::Button", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::widget::image::UiImageSize": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "size": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "size" - ], - "short_name": "UiImageSize", - "title": "bevy_ui::widget::image::UiImageSize", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::widget::label::Label": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "Label", - "title": "bevy_ui::widget::label::Label", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ui::widget::text::TextFlags": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "needs_new_measure_func": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "needs_recompute": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "needs_new_measure_func", - "needs_recompute" - ], - "short_name": "TextFlags", - "title": "bevy_ui::widget::text::TextFlags", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_utils::Duration": { - "isComponent": false, - "isResource": false, - "short_name": "Duration", - "title": "bevy_utils::Duration", - "type": "object", - "typeInfo": "Value" - }, - "bevy_utils::HashSet": { - "isComponent": false, - "isResource": false, - "short_name": "HashSet", - "title": "bevy_utils::HashSet", - "type": "object", - "typeInfo": "Value" - }, - "bevy_utils::Instant": { - "isComponent": false, - "isResource": false, - "short_name": "Instant", - "title": "bevy_utils::Instant", - "type": "object", - "typeInfo": "Value" - }, - "bevy_utils::Uuid": { - "isComponent": false, - "isResource": false, - "short_name": "Uuid", - "title": "bevy_utils::Uuid", - "type": "object", - "typeInfo": "Value" - }, - "bevy_window::cursor::CursorIcon": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Default", - "Crosshair", - "Hand", - "Arrow", - "Move", - "Text", - "Wait", - "Help", - "Progress", - "NotAllowed", - "ContextMenu", - "Cell", - "VerticalText", - "Alias", - "Copy", - "NoDrop", - "Grab", - "Grabbing", - "AllScroll", - "ZoomIn", - "ZoomOut", - "EResize", - "NResize", - "NeResize", - "NwResize", - "SResize", - "SeResize", - "SwResize", - "WResize", - "EwResize", - "NsResize", - "NeswResize", - "NwseResize", - "ColResize", - "RowResize" - ], - "short_name": "CursorIcon", - "title": "bevy_window::cursor::CursorIcon", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_window::event::ApplicationLifetime": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Started", - "Suspended", - "Resumed" - ], - "short_name": "ApplicationLifetime", - "title": "bevy_window::event::ApplicationLifetime", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_window::event::CursorEntered": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window" - ], - "short_name": "CursorEntered", - "title": "bevy_window::event::CursorEntered", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::CursorLeft": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window" - ], - "short_name": "CursorLeft", - "title": "bevy_window::event::CursorLeft", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::CursorMoved": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "position": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "position" - ], - "short_name": "CursorMoved", - "title": "bevy_window::event::CursorMoved", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::FileDragAndDrop": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "path_buf": { - "title": "path_buf", - "type": { - "$ref": "#/$defs/std::path::PathBuf" - } - }, - "window": { - "title": "window", - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "path_buf" - ], - "short_name": "DroppedFile", - "title": "DroppedFile", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "path_buf": { - "title": "path_buf", - "type": { - "$ref": "#/$defs/std::path::PathBuf" - } - }, - "window": { - "title": "window", - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "path_buf" - ], - "short_name": "HoveredFile", - "title": "HoveredFile", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "window": { - "title": "window", - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window" - ], - "short_name": "HoveredFileCanceled", - "title": "HoveredFileCanceled", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "FileDragAndDrop", - "title": "bevy_window::event::FileDragAndDrop", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_window::event::ReceivedCharacter": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "char": { - "type": { - "$ref": "#/$defs/char" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "char" - ], - "short_name": "ReceivedCharacter", - "title": "bevy_window::event::ReceivedCharacter", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::RequestRedraw": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "RequestRedraw", - "title": "bevy_window::event::RequestRedraw", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowBackendScaleFactorChanged": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "scale_factor": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "scale_factor" - ], - "short_name": "WindowBackendScaleFactorChanged", - "title": "bevy_window::event::WindowBackendScaleFactorChanged", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowCloseRequested": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window" - ], - "short_name": "WindowCloseRequested", - "title": "bevy_window::event::WindowCloseRequested", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowClosed": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window" - ], - "short_name": "WindowClosed", - "title": "bevy_window::event::WindowClosed", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowCreated": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window" - ], - "short_name": "WindowCreated", - "title": "bevy_window::event::WindowCreated", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowFocused": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "focused": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "focused" - ], - "short_name": "WindowFocused", - "title": "bevy_window::event::WindowFocused", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowMoved": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "entity": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - }, - "position": { - "type": { - "$ref": "#/$defs/glam::IVec2" - } - } - }, - "required": [ - "entity", - "position" - ], - "short_name": "WindowMoved", - "title": "bevy_window::event::WindowMoved", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowResized": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "height": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "width": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "width", - "height" - ], - "short_name": "WindowResized", - "title": "bevy_window::event::WindowResized", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowScaleFactorChanged": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "scale_factor": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "scale_factor" - ], - "short_name": "WindowScaleFactorChanged", - "title": "bevy_window::event::WindowScaleFactorChanged", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::event::WindowThemeChanged": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "theme": { - "type": { - "$ref": "#/$defs/bevy_window::window::WindowTheme" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - } - }, - "required": [ - "window", - "theme" - ], - "short_name": "WindowThemeChanged", - "title": "bevy_window::event::WindowThemeChanged", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::window::CompositeAlphaMode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Auto", - "Opaque", - "PreMultiplied", - "PostMultiplied", - "Inherit" - ], - "short_name": "CompositeAlphaMode", - "title": "bevy_window::window::CompositeAlphaMode", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_window::window::Cursor": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "grab_mode": { - "type": { - "$ref": "#/$defs/bevy_window::window::CursorGrabMode" - } - }, - "hit_test": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "icon": { - "type": { - "$ref": "#/$defs/bevy_window::cursor::CursorIcon" - } - }, - "visible": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "icon", - "visible", - "grab_mode", - "hit_test" - ], - "short_name": "Cursor", - "title": "bevy_window::window::Cursor", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::window::CursorGrabMode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "None", - "Confined", - "Locked" - ], - "short_name": "CursorGrabMode", - "title": "bevy_window::window::CursorGrabMode", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_window::window::EnabledButtons": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "close": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "maximize": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "minimize": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "minimize", - "maximize", - "close" - ], - "short_name": "EnabledButtons", - "title": "bevy_window::window::EnabledButtons", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::window::InternalWindowState": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "maximize_request": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "minimize_request": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "physical_cursor_position": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - } - }, - "required": [], - "short_name": "InternalWindowState", - "title": "bevy_window::window::InternalWindowState", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::window::MonitorSelection": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "Current" - }, - { - "title": "Primary" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/usize" - } - } - ], - "short_name": "Index", - "title": "Index", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "MonitorSelection", - "title": "bevy_window::window::MonitorSelection", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_window::window::PresentMode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "AutoVsync", - "AutoNoVsync", - "Fifo", - "FifoRelaxed", - "Immediate", - "Mailbox" - ], - "short_name": "PresentMode", - "title": "bevy_window::window::PresentMode", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_window::window::PrimaryWindow": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "PrimaryWindow", - "title": "bevy_window::window::PrimaryWindow", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::window::Window": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "canvas": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - }, - "composite_alpha_mode": { - "type": { - "$ref": "#/$defs/bevy_window::window::CompositeAlphaMode" - } - }, - "cursor": { - "type": { - "$ref": "#/$defs/bevy_window::window::Cursor" - } - }, - "decorations": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "enabled_buttons": { - "type": { - "$ref": "#/$defs/bevy_window::window::EnabledButtons" - } - }, - "fit_canvas_to_parent": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "focused": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "ime_enabled": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "ime_position": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - }, - "internal": { - "type": { - "$ref": "#/$defs/bevy_window::window::InternalWindowState" - } - }, - "mode": { - "type": { - "$ref": "#/$defs/bevy_window::window::WindowMode" - } - }, - "position": { - "type": { - "$ref": "#/$defs/bevy_window::window::WindowPosition" - } - }, - "present_mode": { - "type": { - "$ref": "#/$defs/bevy_window::window::PresentMode" - } - }, - "prevent_default_event_handling": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "resizable": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "resize_constraints": { - "type": { - "$ref": "#/$defs/bevy_window::window::WindowResizeConstraints" - } - }, - "resolution": { - "type": { - "$ref": "#/$defs/bevy_window::window::WindowResolution" - } - }, - "title": { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - }, - "transparent": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "visible": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "window_level": { - "type": { - "$ref": "#/$defs/bevy_window::window::WindowLevel" - } - }, - "window_theme": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - } - }, - "required": [ - "cursor", - "present_mode", - "mode", - "position", - "resolution", - "title", - "composite_alpha_mode", - "resize_constraints", - "resizable", - "enabled_buttons", - "decorations", - "transparent", - "focused", - "window_level", - "fit_canvas_to_parent", - "prevent_default_event_handling", - "internal", - "ime_enabled", - "ime_position", - "visible" - ], - "short_name": "Window", - "title": "bevy_window::window::Window", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::window::WindowLevel": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "AlwaysOnBottom", - "Normal", - "AlwaysOnTop" - ], - "short_name": "WindowLevel", - "title": "bevy_window::window::WindowLevel", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_window::window::WindowMode": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Windowed", - "BorderlessFullscreen", - "SizedFullscreen", - "Fullscreen" - ], - "short_name": "WindowMode", - "title": "bevy_window::window::WindowMode", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_window::window::WindowPosition": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "Automatic" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_window::window::MonitorSelection" - } - } - ], - "short_name": "Centered", - "title": "Centered", - "type": "array", - "typeInfo": "Tuple" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::IVec2" - } - } - ], - "short_name": "At", - "title": "At", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "WindowPosition", - "title": "bevy_window::window::WindowPosition", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_window::window::WindowResizeConstraints": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "max_height": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "max_width": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "min_height": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "min_width": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "min_width", - "min_height", - "max_width", - "max_height" - ], - "short_name": "WindowResizeConstraints", - "title": "bevy_window::window::WindowResizeConstraints", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::window::WindowResolution": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "physical_height": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "physical_width": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "scale_factor": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "scale_factor_override": { - "type": { - "$ref": "#/$defs/core::option::Option" - } - } - }, - "required": [ - "physical_width", - "physical_height", - "scale_factor" - ], - "short_name": "WindowResolution", - "title": "bevy_window::window::WindowResolution", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_window::window::WindowTheme": { - "isComponent": false, - "isResource": false, - "oneOf": [ - "Light", - "Dark" - ], - "short_name": "WindowTheme", - "title": "bevy_window::window::WindowTheme", - "type": "string", - "typeInfo": "Enum" - }, - "bool": { - "isComponent": false, - "isResource": false, - "short_name": "bool", - "title": "bool", - "type": "boolean", - "typeInfo": "Value" - }, - "char": { - "isComponent": false, - "isResource": false, - "short_name": "char", - "title": "char", - "type": "string", - "typeInfo": "Value" - }, - "core::ops::Range": { - "isComponent": false, - "isResource": false, - "short_name": "Range", - "title": "core::ops::Range", - "type": "object", - "typeInfo": "Value" - }, - "core::option::Option": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::string::String" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option", - "title": "core::option::Option", - "type": "object", - "typeInfo": "Enum" - }, - "core::option::Option>": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/alloc::vec::Vec" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option>", - "title": "core::option::Option>", - "type": "object", - "typeInfo": "Enum" - }, - "core::option::Option>": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option>", - "title": "core::option::Option>", - "type": "object", - "typeInfo": "Enum" - }, - "core::option::Option": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::camera::camera::Viewport" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option", - "title": "core::option::Option", - "type": "object", - "typeInfo": "Enum" - }, - "core::option::Option": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::mesh::mesh::Indices" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option", - "title": "core::option::Option", - "type": "object", - "typeInfo": "Enum" - }, - "core::option::Option": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bool" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option", - "title": "core::option::Option", - "type": "object", - "typeInfo": "Enum" - }, - "core::option::Option": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option", - "title": "core::option::Option", - "type": "object", - "typeInfo": "Enum" - }, - "core::option::Option": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f64" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option", - "title": "core::option::Option", - "type": "object", - "typeInfo": "Enum" - }, - "core::option::Option": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "title": "None" - }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/glam::DVec2" - } - } - ], - "short_name": "Some", - "title": "Some", - "type": "array", - "typeInfo": "Tuple" - } - ], - "short_name": "Option", - "title": "core::option::Option", - "type": "object", - "typeInfo": "Enum" - }, - "f32": { - "isComponent": false, - "isResource": false, - "short_name": "f32", - "title": "f32", - "type": "float", - "typeInfo": "Value" - }, - "f64": { - "isComponent": false, - "isResource": false, - "short_name": "f64", - "title": "f64", - "type": "float", - "typeInfo": "Value" - }, - "glam::Affine2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "matrix2": { - "type": { - "$ref": "#/$defs/glam::Mat2" - } - }, - "translation": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "matrix2", - "translation" - ], - "short_name": "Affine2", - "title": "glam::Affine2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Affine3A": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "matrix3": { - "type": { - "$ref": "#/$defs/glam::Mat3A" - } - }, - "translation": { - "type": { - "$ref": "#/$defs/glam::Vec3A" - } - } - }, - "required": [ - "matrix3", - "translation" - ], - "short_name": "Affine3A", - "title": "glam::Affine3A", - "type": "object", - "typeInfo": "Struct" - }, - "glam::BVec2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "y": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "x", - "y" - ], - "short_name": "BVec2", - "title": "glam::BVec2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::BVec3": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "y": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "z": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "x", - "y", - "z" - ], - "short_name": "BVec3", - "title": "glam::BVec3", - "type": "object", - "typeInfo": "Struct" - }, - "glam::BVec3A": { - "isComponent": false, - "isResource": false, - "short_name": "BVec3A", - "title": "glam::BVec3A", - "type": "object", - "typeInfo": "Value" - }, - "glam::BVec4": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "y": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "z": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "x", - "y", - "z", - "w" - ], - "short_name": "BVec4", - "title": "glam::BVec4", - "type": "object", - "typeInfo": "Struct" - }, - "glam::BVec4A": { - "isComponent": false, - "isResource": false, - "short_name": "BVec4A", - "title": "glam::BVec4A", - "type": "object", - "typeInfo": "Value" - }, - "glam::DAffine2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "matrix2": { - "type": { - "$ref": "#/$defs/glam::DMat2" - } - }, - "translation": { - "type": { - "$ref": "#/$defs/glam::DVec2" - } - } - }, - "required": [ - "matrix2", - "translation" - ], - "short_name": "DAffine2", - "title": "glam::DAffine2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::DAffine3": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "matrix3": { - "type": { - "$ref": "#/$defs/glam::DMat3" - } - }, - "translation": { - "type": { - "$ref": "#/$defs/glam::DVec3" - } - } - }, - "required": [ - "matrix3", - "translation" - ], - "short_name": "DAffine3", - "title": "glam::DAffine3", - "type": "object", - "typeInfo": "Struct" - }, - "glam::DMat2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x_axis": { - "type": { - "$ref": "#/$defs/glam::DVec2" - } - }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::DVec2" - } - } - }, - "required": [ - "x_axis", - "y_axis" - ], - "short_name": "DMat2", - "title": "glam::DMat2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::DMat3": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x_axis": { - "type": { - "$ref": "#/$defs/glam::DVec3" - } - }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::DVec3" - } - }, - "z_axis": { - "type": { - "$ref": "#/$defs/glam::DVec3" - } - } - }, - "required": [ - "x_axis", - "y_axis", - "z_axis" - ], - "short_name": "DMat3", - "title": "glam::DMat3", - "type": "object", - "typeInfo": "Struct" - }, - "glam::DMat4": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w_axis": { - "type": { - "$ref": "#/$defs/glam::DVec4" - } - }, - "x_axis": { - "type": { - "$ref": "#/$defs/glam::DVec4" - } - }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::DVec4" - } - }, - "z_axis": { - "type": { - "$ref": "#/$defs/glam::DVec4" - } - } - }, - "required": [ - "x_axis", - "y_axis", - "z_axis", - "w_axis" - ], - "short_name": "DMat4", - "title": "glam::DMat4", - "type": "object", - "typeInfo": "Struct" - }, - "glam::DQuat": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "x": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "z": { - "type": { - "$ref": "#/$defs/f64" - } - } - }, - "required": [ - "x", - "y", - "z", - "w" - ], - "short_name": "DQuat", - "title": "glam::DQuat", - "type": "object", - "typeInfo": "Struct" - }, - "glam::DVec2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f64" - } - } - }, - "required": [ - "x", - "y" - ], - "short_name": "DVec2", - "title": "glam::DVec2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::DVec3": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "z": { - "type": { - "$ref": "#/$defs/f64" - } - } - }, - "required": [ - "x", - "y", - "z" - ], - "short_name": "DVec3", - "title": "glam::DVec3", - "type": "object", - "typeInfo": "Struct" - }, - "glam::DVec4": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "x": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "z": { - "type": { - "$ref": "#/$defs/f64" - } - } - }, - "required": [ - "x", - "y", - "z", - "w" - ], - "short_name": "DVec4", - "title": "glam::DVec4", - "type": "object", - "typeInfo": "Struct" - }, - "glam::IVec2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/i32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/i32" - } - } - }, - "required": [ - "x", - "y" - ], - "short_name": "IVec2", - "title": "glam::IVec2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::IVec3": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/i32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/i32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/i32" - } - } - }, - "required": [ - "x", - "y", - "z" - ], - "short_name": "IVec3", - "title": "glam::IVec3", - "type": "object", - "typeInfo": "Struct" - }, - "glam::IVec4": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/i32" - } - }, - "x": { - "type": { - "$ref": "#/$defs/i32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/i32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/i32" - } - } - }, - "required": [ - "x", - "y", - "z", - "w" - ], - "short_name": "IVec4", - "title": "glam::IVec4", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Mat2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x_axis": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } - } - }, - "required": [ - "x_axis", - "y_axis" - ], - "short_name": "Mat2", - "title": "glam::Mat2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Mat3": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x_axis": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "z_axis": { - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - }, - "required": [ - "x_axis", - "y_axis", - "z_axis" - ], - "short_name": "Mat3", - "title": "glam::Mat3", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Mat3A": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x_axis": { - "type": { - "$ref": "#/$defs/glam::Vec3A" - } - }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::Vec3A" - } - }, - "z_axis": { - "type": { - "$ref": "#/$defs/glam::Vec3A" - } - } - }, - "required": [ - "x_axis", - "y_axis", - "z_axis" - ], - "short_name": "Mat3A", - "title": "glam::Mat3A", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Mat4": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w_axis": { - "type": { - "$ref": "#/$defs/glam::Vec4" - } - }, - "x_axis": { - "type": { - "$ref": "#/$defs/glam::Vec4" - } - }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::Vec4" - } - }, - "z_axis": { - "type": { - "$ref": "#/$defs/glam::Vec4" - } - } - }, - "required": [ - "x_axis", - "y_axis", - "z_axis", - "w_axis" - ], - "short_name": "Mat4", - "title": "glam::Mat4", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Quat": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "x": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "x", - "y", - "z", - "w" - ], - "short_name": "Quat", - "title": "glam::Quat", - "type": "object", - "typeInfo": "Struct" - }, - "glam::UVec2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/u32" - } - } - }, - "required": [ - "x", - "y" - ], - "short_name": "UVec2", - "title": "glam::UVec2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::UVec3": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/u32" - } - } - }, - "required": [ - "x", - "y", - "z" - ], - "short_name": "UVec3", - "title": "glam::UVec3", - "type": "object", - "typeInfo": "Struct" - }, - "glam::UVec4": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "x": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/u32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/u32" - } - } - }, - "required": [ - "x", - "y", - "z", - "w" - ], - "short_name": "UVec4", - "title": "glam::UVec4", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Vec2": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "x", - "y" - ], - "short_name": "Vec2", - "title": "glam::Vec2", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Vec3": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "x", - "y", - "z" - ], - "short_name": "Vec3", - "title": "glam::Vec3", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Vec3A": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "x", - "y", - "z" - ], - "short_name": "Vec3A", - "title": "glam::Vec3A", - "type": "object", - "typeInfo": "Struct" - }, - "glam::Vec4": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "x": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "x", - "y", - "z", - "w" - ], - "short_name": "Vec4", - "title": "glam::Vec4", - "type": "object", - "typeInfo": "Struct" - }, - "i128": { - "isComponent": false, - "isResource": false, - "short_name": "i128", - "title": "i128", - "type": "int", - "typeInfo": "Value" - }, - "i16": { - "isComponent": false, - "isResource": false, - "short_name": "i16", - "title": "i16", - "type": "int", - "typeInfo": "Value" - }, - "i32": { - "isComponent": false, - "isResource": false, - "short_name": "i32", - "title": "i32", - "type": "int", - "typeInfo": "Value" - }, - "i64": { - "isComponent": false, - "isResource": false, - "short_name": "i64", - "title": "i64", - "type": "int", - "typeInfo": "Value" - }, - "i8": { - "isComponent": false, - "isResource": false, - "short_name": "i8", - "title": "i8", - "type": "int", - "typeInfo": "Value" - }, - "isize": { - "isComponent": false, - "isResource": false, - "short_name": "isize", - "title": "isize", - "type": "int", - "typeInfo": "Value" - }, - "smallvec::SmallVec<[bevy_ecs::Entity; 8]>": { - "isComponent": false, - "isResource": false, - "items": { - "type": { - "$ref": "#/$defs/bevy_ecs::Entity" - } - }, - "short_name": "SmallVec<[Entity; 8]>", - "title": "smallvec::SmallVec<[bevy_ecs::Entity; 8]>", - "type": "array", - "typeInfo": "List" - }, - "std::ffi::OsString": { - "isComponent": false, - "isResource": false, - "short_name": "OsString", - "title": "std::ffi::OsString", - "type": "object", - "typeInfo": "Value" - }, - "std::path::PathBuf": { - "isComponent": false, - "isResource": false, - "short_name": "PathBuf", - "title": "std::path::PathBuf", - "type": "object", - "typeInfo": "Value" - }, - "u128": { - "isComponent": false, - "isResource": false, - "short_name": "u128", - "title": "u128", - "type": "uint", - "typeInfo": "Value" - }, - "u16": { - "isComponent": false, - "isResource": false, - "short_name": "u16", - "title": "u16", - "type": "uint", - "typeInfo": "Value" - }, - "u32": { - "isComponent": false, - "isResource": false, - "short_name": "u32", - "title": "u32", - "type": "uint", - "typeInfo": "Value" - }, - "u64": { - "isComponent": false, - "isResource": false, - "short_name": "u64", - "title": "u64", - "type": "uint", - "typeInfo": "Value" - }, - "u8": { - "isComponent": false, - "isResource": false, - "short_name": "u8", - "title": "u8", - "type": "uint", - "typeInfo": "Value" - }, - "usize": { - "isComponent": false, - "isResource": false, - "short_name": "usize", - "title": "usize", - "type": "uint", - "typeInfo": "Value" - } - }, - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "bevy component registry schema" -} \ No newline at end of file diff --git a/testing/bevy_registry_export/basic/src/core/mod.rs b/testing/bevy_registry_export/basic/src/core/mod.rs deleted file mode 100644 index 5421e4e2..00000000 --- a/testing/bevy_registry_export/basic/src/core/mod.rs +++ /dev/null @@ -1,22 +0,0 @@ -use bevy::prelude::*; -use bevy_gltf_blueprints::*; -use bevy_registry_export::*; - -pub struct CorePlugin; -impl Plugin for CorePlugin { - fn build(&self, app: &mut App) { - app.add_plugins(( - ExportRegistryPlugin { - save_path: "assets/registry.json".into(), - ..Default::default() - }, - BlueprintsPlugin { - legacy_mode: false, - library_folder: "models/library".into(), - format: GltfFormat::GLB, - aabbs: true, - ..Default::default() - }, - )); - } -} diff --git a/testing/bevy_registry_export/basic/src/game/in_game.rs b/testing/bevy_registry_export/basic/src/game/in_game.rs deleted file mode 100644 index 23389562..00000000 --- a/testing/bevy_registry_export/basic/src/game/in_game.rs +++ /dev/null @@ -1,128 +0,0 @@ -use bevy::prelude::*; -use bevy_gltf_blueprints::{BluePrintBundle, BlueprintName, GameWorldTag}; -use bevy_gltf_worlflow_examples_common::{assets::GameAssets, GameState, InAppRunning}; - -use bevy_rapier3d::prelude::Velocity; -use rand::Rng; - -pub fn setup_game( - mut commands: Commands, - game_assets: Res, - models: Res>, - mut next_game_state: ResMut>, -) { - println!("setting up all stuff"); - commands.insert_resource(AmbientLight { - color: Color::WHITE, - brightness: 0.2, - }); - // here we actually spawn our game world/level - - commands.spawn(( - SceneBundle { - // note: because of this issue https://github.com/bevyengine/bevy/issues/10436, "world" is now a gltf file instead of a scene - scene: models - .get(game_assets.world.id()) - .expect("main level should have been loaded") - .scenes[0] - .clone(), - ..default() - }, - bevy::prelude::Name::from("world"), - GameWorldTag, - InAppRunning, - )); - - next_game_state.set(GameState::InGame) -} - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct UnregisteredComponent; - -pub fn spawn_test( - keycode: Res>, - mut commands: Commands, - - mut game_world: Query<(Entity, &Children), With>, -) { - if keycode.just_pressed(KeyCode::T) { - let world = game_world.single_mut(); - let world = world.1[0]; - - let mut rng = rand::thread_rng(); - let range = 5.5; - let x: f32 = rng.gen_range(-range..range); - let y: f32 = rng.gen_range(-range..range); - - let mut rng = rand::thread_rng(); - let range = 0.8; - let vel_x: f32 = rng.gen_range(-range..range); - let vel_y: f32 = rng.gen_range(2.0..2.5); - let vel_z: f32 = rng.gen_range(-range..range); - - let name_index: u64 = rng.gen(); - - let new_entity = commands - .spawn(( - BluePrintBundle { - blueprint: BlueprintName("Health_Pickup".to_string()), - ..Default::default() - }, - bevy::prelude::Name::from(format!("test{}", name_index)), - // BlueprintName("Health_Pickup".to_string()), - // SpawnHere, - TransformBundle::from_transform(Transform::from_xyz(x, 2.0, y)), - Velocity { - linvel: Vec3::new(vel_x, vel_y, vel_z), - angvel: Vec3::new(0.0, 0.0, 0.0), - }, - )) - .id(); - commands.entity(world).add_child(new_entity); - } -} - -pub fn spawn_test_unregisted_components( - keycode: Res>, - mut commands: Commands, - - mut game_world: Query<(Entity, &Children), With>, -) { - if keycode.just_pressed(KeyCode::U) { - let world = game_world.single_mut(); - let world = world.1[0]; - - let mut rng = rand::thread_rng(); - let range = 5.5; - let x: f32 = rng.gen_range(-range..range); - let y: f32 = rng.gen_range(-range..range); - - let mut rng = rand::thread_rng(); - let range = 0.8; - let vel_x: f32 = rng.gen_range(-range..range); - let vel_y: f32 = rng.gen_range(2.0..2.5); - let vel_z: f32 = rng.gen_range(-range..range); - - let name_index: u64 = rng.gen(); - - let new_entity = commands - .spawn(( - BluePrintBundle { - blueprint: BlueprintName("Health_Pickup".to_string()), - ..Default::default() - }, - bevy::prelude::Name::from(format!("test{}", name_index)), - // BlueprintName("Health_Pickup".to_string()), - // SpawnHere, - TransformBundle::from_transform(Transform::from_xyz(x, 2.0, y)), - Velocity { - linvel: Vec3::new(vel_x, vel_y, vel_z), - angvel: Vec3::new(0.0, 0.0, 0.0), - }, - UnregisteredComponent, - )) - .id(); - commands.entity(world).add_child(new_entity); - } -} diff --git a/testing/bevy_registry_export/basic/src/game/in_main_menu.rs b/testing/bevy_registry_export/basic/src/game/in_main_menu.rs deleted file mode 100644 index c1a4b8b2..00000000 --- a/testing/bevy_registry_export/basic/src/game/in_main_menu.rs +++ /dev/null @@ -1,112 +0,0 @@ -use bevy::prelude::*; -use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu}; - -pub fn setup_main_menu(mut commands: Commands) { - commands.spawn((Camera2dBundle::default(), InMainMenu)); - - commands.spawn(( - TextBundle::from_section( - "SOME GAME TITLE !!", - TextStyle { - //font: asset_server.load("fonts/FiraMono-Medium.ttf"), - font_size: 18.0, - color: Color::WHITE, - ..Default::default() - }, - ) - .with_style(Style { - position_type: PositionType::Absolute, - top: Val::Px(100.0), - left: Val::Px(200.0), - ..default() - }), - InMainMenu, - )); - - commands.spawn(( - TextBundle::from_section( - "New Game (press Enter to start, press T once the game is started for demo spawning)", - TextStyle { - //font: asset_server.load("fonts/FiraMono-Medium.ttf"), - font_size: 18.0, - color: Color::WHITE, - ..Default::default() - }, - ) - .with_style(Style { - position_type: PositionType::Absolute, - top: Val::Px(200.0), - left: Val::Px(200.0), - ..default() - }), - InMainMenu, - )); - - /* - commands.spawn(( - TextBundle::from_section( - "Load Game", - TextStyle { - //font: asset_server.load("fonts/FiraMono-Medium.ttf"), - font_size: 18.0, - color: Color::WHITE, - ..Default::default() - }, - ) - .with_style(Style { - position_type: PositionType::Absolute, - top: Val::Px(250.0), - left: Val::Px(200.0), - ..default() - }), - InMainMenu - )); - - commands.spawn(( - TextBundle::from_section( - "Exit Game", - TextStyle { - //font: asset_server.load("fonts/FiraMono-Medium.ttf"), - font_size: 18.0, - color: Color::WHITE, - ..Default::default() - }, - ) - .with_style(Style { - position_type: PositionType::Absolute, - top: Val::Px(300.0), - left: Val::Px(200.0), - ..default() - }), - InMainMenu - ));*/ -} - -pub fn teardown_main_menu(bla: Query>, mut commands: Commands) { - for bli in bla.iter() { - commands.entity(bli).despawn_recursive(); - } -} - -pub fn main_menu( - keycode: Res>, - - mut next_app_state: ResMut>, - // mut next_game_state: ResMut>, - // mut save_requested_events: EventWriter, - // mut load_requested_events: EventWriter, -) { - if keycode.just_pressed(KeyCode::Return) { - next_app_state.set(AppState::AppLoading); - // next_game_state.set(GameState::None); - } - - if keycode.just_pressed(KeyCode::L) { - next_app_state.set(AppState::AppLoading); - // load_requested_events.send(LoadRequest { path: "toto".into() }) - } - - if keycode.just_pressed(KeyCode::S) { - // save_requested_events.send(SaveRequest { path: "toto".into() }) - } -} diff --git a/testing/bevy_registry_export/basic/src/game/mod.rs b/testing/bevy_registry_export/basic/src/game/mod.rs deleted file mode 100644 index b2361410..00000000 --- a/testing/bevy_registry_export/basic/src/game/mod.rs +++ /dev/null @@ -1,22 +0,0 @@ -pub mod in_game; -pub use in_game::*; - -pub mod in_main_menu; -pub use in_main_menu::*; - -use bevy::prelude::*; -use bevy_gltf_worlflow_examples_common::{AppState, GameState}; - -pub struct GamePlugin; -impl Plugin for GamePlugin { - fn build(&self, app: &mut App) { - app.add_systems( - Update, - (spawn_test, spawn_test_unregisted_components).run_if(in_state(GameState::InGame)), - ) - .add_systems(OnEnter(AppState::MenuRunning), setup_main_menu) - .add_systems(OnExit(AppState::MenuRunning), teardown_main_menu) - .add_systems(Update, main_menu.run_if(in_state(AppState::MenuRunning))) - .add_systems(OnEnter(AppState::AppRunning), setup_game); - } -} diff --git a/testing/bevy_registry_export/basic/src/main.rs b/testing/bevy_registry_export/basic/src/main.rs deleted file mode 100644 index 8fca4263..00000000 --- a/testing/bevy_registry_export/basic/src/main.rs +++ /dev/null @@ -1,27 +0,0 @@ -use bevy::prelude::*; -use bevy_editor_pls::prelude::*; -use bevy_gltf_worlflow_examples_common::CommonPlugin; - -mod core; -use crate::core::*; - -mod game; -use game::*; - -mod test_components; -use test_components::*; - -fn main() { - App::new() - .add_plugins(( - DefaultPlugins.set(AssetPlugin::default()), - // editor - EditorPlugin::default(), - // our custom plugins - CommonPlugin, - CorePlugin, // reusable plugins - GamePlugin, // specific to our game - ComponentsTestPlugin, // Showcases different type of components /structs - )) - .run(); -} diff --git a/testing/bevy_registry_export/basic/src/test_components.rs b/testing/bevy_registry_export/basic/src/test_components.rs deleted file mode 100644 index 58a19c2c..00000000 --- a/testing/bevy_registry_export/basic/src/test_components.rs +++ /dev/null @@ -1,190 +0,0 @@ -use bevy::{ - pbr::{ExtendedMaterial, MaterialExtension}, - prelude::*, - render::render_resource::*, -}; -use std::ops::Range; - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct UnitTest; - -#[derive(Component, Reflect, Default, Debug, Deref, DerefMut)] -#[reflect(Component)] -struct TupleTestF32(f32); - -#[derive(Component, Reflect, Default, Debug, Deref, DerefMut)] -#[reflect(Component)] -struct TupleTestU64(u64); - -#[derive(Component, Reflect, Default, Debug, Deref, DerefMut)] -#[reflect(Component)] -pub struct TupleTestStr(String); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct TupleTest2(f32, u64, String); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct TupleTestBool(bool); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct TupleVec2(Vec2); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct TupleVec3(Vec3); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct TupleVec(Vec); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct TupleVecF32F32(Vec<(f32, f32)>); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -struct TupleTestColor(Color); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct BasicTest { - a: f32, - b: u64, - c: String, -} - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub enum EnumTest { - Metal, - Wood, - Rock, - Cloth, - Squishy, - #[default] - None, -} - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct NestingTestLevel2 { - text: String, - enable: bool, - enum_inner: EnumTest, - color: TupleTestColor, - toggle: TupleTestBool, - basic: BasicTest, - pub nested: NestingTestLevel3, - colors_list: VecOfColors, -} - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct NestingTestLevel3 { - vec: TupleVec3, -} - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct NestedTupleStuff(f32, u64, NestingTestLevel2); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub enum EnumComplex { - Float(f32), - Wood(String), - Vec(BasicTest), - SomeThing, - StructLike { - a: f32, - b: u32, - c: String, - }, - #[default] - None, -} - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct VecOfVec3s2(Vec); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct VecOfColors(Vec); - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct AAAAddedCOMPONENT; - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut; - -/* fn toto(){ - let bla:core::ops::Range = Range { start: 0.1, end: 5.0}; -} */ - -#[derive(Component, Reflect, Default, Debug)] -#[reflect(Component)] -pub struct VecOfF32s(Vec); - -// test for extended materials -#[derive(Asset, AsBindGroup, Reflect, Debug, Clone)] -struct MyExtension { - // We need to ensure that the bindings of the base material and the extension do not conflict, - // so we start from binding slot 100, leaving slots 0-99 for the base material. - #[uniform(100)] - quantize_steps: u32, -} - -impl MaterialExtension for MyExtension { - fn fragment_shader() -> ShaderRef { - "shaders/extended_material.wgsl".into() - } - - fn deferred_fragment_shader() -> ShaderRef { - "shaders/extended_material.wgsl".into() - } -} - -pub struct ComponentsTestPlugin; -impl Plugin for ComponentsTestPlugin { - fn build(&self, app: &mut App) { - app.register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::>() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::() - .register_type::<(f32, f32)>() - .register_type::>() - .register_type::>() - .register_type::>() - .register_type::() - .register_type::>() - .register_type::() - .register_type::>() - // .register_type::() - .register_type::() - .add_plugins(MaterialPlugin::< - ExtendedMaterial, - >::default()); - } -} diff --git a/tools/bevy_components/README.md b/tools/bevy_components/README.md index 2c385d37..d871271a 100644 --- a/tools/bevy_components/README.md +++ b/tools/bevy_components/README.md @@ -18,6 +18,8 @@ of your Bevy components you get a nicely packed custom_property to use with ... > IMPORTANT !! if you have previously used v0.1 , v0.2 had a breaking change, please see [this](#regenerate-ui-values) section on how to upgrade your data to v0.2.\ This problem should not be present going forward +> IMPORTANT !! if you have previously used v0.2 , v0.3 had a breaking change, please see [this](#regenerate-custom-property-values) section on how to upgrade your data to v0.3. + ## Installation: * grab the latest release zip file from the releases tab (choose the bevy_components releases !) @@ -206,6 +208,9 @@ It will add the component to the select object ![update custom properties for all](./docs/other_options2.png) + > IMPORTANT !! use this if you have previously used v0.1 or v0.2 , as v0.3 had a breaking change, that makes it **necessary** to use this **once** to upgrade components data + You should also re-export your gltf files , otherwise you might run into issues + ### regenerate UI values diff --git a/tools/bevy_components/TODO.md b/tools/bevy_components/TODO.md index a18dd111..0fa7f88d 100644 --- a/tools/bevy_components/TODO.md +++ b/tools/bevy_components/TODO.md @@ -192,7 +192,7 @@ UI: - [x] fix enums (see Clusterconfig) - [x] need an example with one tupple one struct - [x] projection - - [ ] additionalmassproperties + - [x] additionalmassproperties - [x] fix tupleStructs (see TupleVecF32F32) => always the same problem of having us pre-parse data without knowing what we have inside - find a way to only split by level 0 (highest level) nesting "," seperators, ignoring any level of nesting until we dig one level deeper - solve nesting level use issues diff --git a/tools/bevy_components/__init__.py b/tools/bevy_components/__init__.py index 74637f00..6088927b 100644 --- a/tools/bevy_components/__init__.py +++ b/tools/bevy_components/__init__.py @@ -1,7 +1,7 @@ bl_info = { "name": "bevy_components", "author": "kaosigh", - "version": (0, 2, 0), + "version": (0, 3, 0), "blender": (3, 4, 0), "location": "VIEW_3D", "description": "UI to help create Bevy blueprints and components", diff --git a/tools/bevy_components/propGroups/conversions_from_prop_group.py b/tools/bevy_components/propGroups/conversions_from_prop_group.py index c1d5c61e..6fadb306 100644 --- a/tools/bevy_components/propGroups/conversions_from_prop_group.py +++ b/tools/bevy_components/propGroups/conversions_from_prop_group.py @@ -6,6 +6,7 @@ "char": lambda value: '"'+value+'"', "str": lambda value: '"'+value+'"', "alloc::string::String": lambda value: '"'+value+'"', + "alloc::borrow::Cow": lambda value: '"'+value+'"', "glam::Vec2": lambda value: "Vec2(x:"+str(value[0])+ ", y:"+str(value[1])+")", "glam::DVec2": lambda value: "DVec2(x:"+str(value[0])+ ", y:"+str(value[1])+")", @@ -39,7 +40,7 @@ def property_group_value_to_custom_property_value(property_group, definition, re elif type_info == "Struct": values = {} if len(property_group.field_names) ==0: - value = '' + value = '()' else: for index, field_name in enumerate(property_group.field_names): item_type_name = definition["properties"][field_name]["type"]["$ref"].replace("#/$defs/", "") @@ -137,7 +138,6 @@ def property_group_value_to_custom_property_value(property_group, definition, re value = conversion_tables[type_name](value) if is_value_type else value value = '""' if isinstance(value, PropertyGroup) else value - #print("generating custom property value", value, type(value)) if isinstance(value, str): value = value.replace("'", "") diff --git a/tools/bevy_components/propGroups/conversions_to_prop_group.py b/tools/bevy_components/propGroups/conversions_to_prop_group.py index 1bbfde22..d34c2a22 100644 --- a/tools/bevy_components/propGroups/conversions_to_prop_group.py +++ b/tools/bevy_components/propGroups/conversions_to_prop_group.py @@ -161,6 +161,8 @@ def to_int(input): "glam::Quat": lambda value: parse_vec4(value, float, "Quat"), 'alloc::string::String': lambda value: str(value.replace('"', "")), + 'alloc::borrow::Cow': lambda value: str(value.replace('"', "")), + 'bevy_render::color::Color': lambda value: parse_color(value, float, "Rgba"), 'bevy_ecs::Entity': lambda value: int(value), } diff --git a/tools/bevy_components/registry/registry.py b/tools/bevy_components/registry/registry.py index 9312cbf9..abc1970b 100644 --- a/tools/bevy_components/registry/registry.py +++ b/tools/bevy_components/registry/registry.py @@ -31,7 +31,7 @@ def toggle_watcher(self, context): def watch_schema(): self = bpy.context.window_manager.components_registry - print("watching schema file for changes") + # print("watching schema file for changes") try: stamp = os.stat(self.schemaFullPath).st_mtime stamp = str(stamp) diff --git a/tools/bevy_components/tests/expected_component_values.py b/tools/bevy_components/tests/expected_component_values.py index 533a6d80..de5cedf9 100644 --- a/tools/bevy_components/tests/expected_component_values.py +++ b/tools/bevy_components/tests/expected_component_values.py @@ -1,6 +1,6 @@ -expected_custom_property_values = {'AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut': '', +expected_custom_property_values = {'AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut': '()', 'Aabb': '(center: Vec3A(x:0.0, y:0.0, z:0.0), half_extents: Vec3A(x:0.0, y:0.0, z:0.0))', 'AdditionalMassProperties': 'Mass(0.0)', 'AmbientLightSettings': '(brightness: 0.0, color: Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0))', @@ -14,20 +14,20 @@ '0.0))', 'BlueprintName': '(" ")', 'BorderColor': '(Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0))', - 'Button': '', + 'Button': '()', 'CalculatedClip': '(clip: (max: Vec2(x:0.0, y:0.0), min: Vec2(x:0.0, y:0.0)))', 'Camera': '(hdr: true, is_active: true, msaa_writeback: true, order: 0, viewport: None)', 'Camera2d': '(clear_color: Default)', 'Camera3d': '(clear_color: Default, depth_load_op: Clear(0.0), depth_texture_usages: "", ' 'screen_space_specular_transmission_quality: "", screen_space_specular_transmission_steps: 0)', - 'CameraRenderGraph': '( )', - 'CameraTrackable': '', + 'CameraRenderGraph': '(" ")', + 'CameraTrackable': '()', 'CameraTracking': '(offset: Vec3(x:0.0, y:0.0, z:0.0))', 'CameraTrackingOffset': '(Vec3(x:0.0, y:0.0, z:0.0))', 'CascadeShadowConfig': '(bounds: [], minimum_distance: 0.0, overlap_proportion: 0.0)', 'Cascades': '(cascades: "")', - 'CascadesFrusta': '', - 'CascadesVisibleEntities': '', + 'CascadesFrusta': '()', + 'CascadesVisibleEntities': '()', 'Ccd': '(enabled: true)', 'Children': '([])', 'ClusterConfig': 'None', @@ -36,10 +36,10 @@ 'CollisionGroups': '(filters: (0), memberships: (0))', 'ColorGrading': '(exposure: 0.0, gamma: 0.0, post_saturation: 0.0, pre_saturation: 0.0)', 'ContactForceEventThreshold': '(0.0)', - 'ContentSize': '', + 'ContentSize': '()', 'ContrastAdaptiveSharpeningSettings': '(denoise: true, enabled: true, sharpening_strength: 0.0)', - 'CubemapFrusta': '', - 'CubemapVisibleEntities': '', + 'CubemapFrusta': '()', + 'CubemapVisibleEntities': '()', 'Damping': '(angular_damping: 0.0, linear_damping: 0.0)', 'DebandDither': 'Disabled', 'DirectionalLight': '(color: Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0), illuminance: 0.0, shadow_depth_bias: 0.0, ' @@ -53,7 +53,7 @@ 'FogSettings': '(color: Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0), directional_light_color: Rgba(red:1.0, ' 'green:1.0, blue:0.0, alpha:1.0), directional_light_exponent: 0.0, falloff: "")', 'Friction': '(coefficient: 0.0, combine_rule: "")', - 'Frustum': '', + 'Frustum': '()', 'Fxaa': '(edge_threshold: "", edge_threshold_min: "", enabled: true)', 'GlobalTransform': '((matrix3: (x_axis: Vec3A(x:0.0, y:0.0, z:0.0), y_axis: Vec3A(x:0.0, y:0.0, z:0.0), z_axis: ' 'Vec3A(x:0.0, y:0.0, z:0.0)), translation: Vec3A(x:0.0, y:0.0, z:0.0)))', @@ -86,13 +86,13 @@ 'Handle': 'Strong("")', 'InheritedVisibility': '(true)', 'Interaction': 'Pressed', - 'Label': '', + 'Label': '()', 'LockedAxes': '(0)', 'MaterialInfo': '(name: " ", source: " ")', 'Mesh2dHandle': '(Strong(""))', 'MeshMorphWeights': '(weights: [])', 'MorphWeights': '(first_mesh: "", weights: [])', - 'Name': '(hash: 0, name: )', + 'Name': '(hash: 0, name: " ")', 'NestedTupleStuff': '(0.0, 0, (basic: (a: 0.0, b: 0, c: " "), color: (Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0)), ' 'colors_list: ([]), enable: true, enum_inner: Metal, nested: (vec: (Vec3(x:0.0, y:0.0, z:0.0))), ' 'text: " ", toggle: (true)))', @@ -100,37 +100,37 @@ 'colors_list: ([]), enable: true, enum_inner: Metal, nested: (vec: (Vec3(x:0.0, y:0.0, z:0.0))), ' 'text: " ", toggle: (true))', 'NestingTestLevel3': '(vec: (Vec3(x:0.0, y:0.0, z:0.0)))', - 'NoFrustumCulling': '', - 'NoWireframe': '', + 'NoFrustumCulling': '()', + 'NoWireframe': '()', 'Node': '(calculated_size: Vec2(x:0.0, y:0.0), outline_offset: 0.0, outline_width: 0.0, stack_index: 0, ' 'unrounded_size: Vec2(x:0.0, y:0.0))', - 'NotShadowCaster': '', - 'NotShadowReceiver': '', + 'NotShadowCaster': '()', + 'NotShadowReceiver': '()', 'OrthographicProjection': '(area: (max: Vec2(x:0.0, y:0.0), min: Vec2(x:0.0, y:0.0)), far: 0.0, near: 0.0, scale: ' '0.0, scaling_mode: Fixed(height: 0.0, width: 0.0), viewport_origin: Vec2(x:0.0, y:0.0))', 'Outline': '(color: Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0), offset: Auto, width: Auto)', 'Parent': '(0)', 'PerspectiveProjection': '(aspect_ratio: 0.0, far: 0.0, fov: 0.0, near: 0.0)', - 'Pickable': '', - 'Player': '', + 'Pickable': '()', + 'Player': '()', 'PointLight': '(color: Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0), intensity: 0.0, radius: 0.0, range: 0.0, ' 'shadow_depth_bias: 0.0, shadow_normal_bias: 0.0, shadows_enabled: true)', - 'PrimaryWindow': '', + 'PrimaryWindow': '()', 'Projection': 'Perspective((aspect_ratio: 0.0, far: 0.0, fov: 0.0, near: 0.0))', 'RelativeCursorPosition': '(normalized: "", normalized_visible_node_rect: (max: Vec2(x:0.0, y:0.0), min: Vec2(x:0.0, ' 'y:0.0)))', 'RenderLayers': '(0)', 'Restitution': '(coefficient: 0.0, combine_rule: "")', 'RigidBody': 'Dynamic', - 'SSAOSettings': '', + 'SSAOSettings': '()', 'ScreenSpaceAmbientOcclusionSettings': '(quality_level: "")', - 'Sensor': '', + 'Sensor': '()', 'ShadowFilteringMethod': 'Hardware2x2', 'ShadowmapSettings': '(size: 0)', 'SkinnedMesh': '(inverse_bindposes: Strong(""), joints: [])', 'Sleeping': '(angular_threshold: 0.0, linear_threshold: 0.0, sleeping: true)', 'SolverGroups': '(filters: (0), memberships: (0))', - 'SpawnHere': '', + 'SpawnHere': '()', 'SpotLight': '(color: Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0), inner_angle: 0.0, intensity: 0.0, outer_angle: ' '0.0, radius: 0.0, range: 0.0, shadow_depth_bias: 0.0, shadow_normal_bias: 0.0, shadows_enabled: true)', 'Sprite': '(anchor: Center, color: Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0), custom_size: "", flip_x: true, ' @@ -167,14 +167,14 @@ 'UiImage': '(flip_x: true, flip_y: true, texture: Strong(""))', 'UiImageSize': '(size: Vec2(x:0.0, y:0.0))', 'UiTextureAtlasImage': '(flip_x: true, flip_y: true, index: 0)', - 'UnitTest': '', + 'UnitTest': '()', 'VecOfColors': '([])', 'VecOfF32s': '([])', 'VecOfVec3s2': '([])', 'Velocity': '(angvel: Vec3(x:0.0, y:0.0, z:0.0), linvel: Vec3(x:0.0, y:0.0, z:0.0))', 'ViewVisibility': '(true)', 'Visibility': 'Inherited', - 'VisibleEntities': '', + 'VisibleEntities': '()', 'Window': '(canvas: None, composite_alpha_mode: Auto, cursor: (grab_mode: None, hit_test: true, icon: Default, ' 'visible: true), decorations: true, enabled_buttons: (close: true, maximize: true, minimize: true), ' 'fit_canvas_to_parent: true, focused: true, ime_enabled: true, ime_position: Vec2(x:0.0, y:0.0), internal: ' @@ -183,12 +183,13 @@ 'resize_constraints: (max_height: 0.0, max_width: 0.0, min_height: 0.0, min_width: 0.0), resolution: ' '(physical_height: 0, physical_width: 0, scale_factor: 0.0, scale_factor_override: None), title: " ", ' 'transparent: true, visible: true, window_level: AlwaysOnBottom, window_theme: "")', - 'Wireframe': '', + 'Wireframe': '()', 'ZIndex': 'Local(0)'} -expected_custom_property_values_randomized = {'AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut': '', + +expected_custom_property_values_randomized = {'AComponentWithAnExtremlyExageratedOrMaybeNotButCouldBeNameOrWut': '()', 'Aabb': '(center: Vec3A(x:0.5714026093482971, y:0.42888906598091125, z:0.5780913233757019), half_extents: ' 'Vec3A(x:0.20609822869300842, y:0.8133212327957153, z:0.8235888481140137))', 'AdditionalMassProperties': 'Mass(0.42888906598091125)', @@ -207,22 +208,22 @@ 'BlueprintName': '("sbnpsago")', 'BorderColor': '(Rgba(red:0.5714026093482971, green:0.42888906598091125, blue:0.5780913233757019, ' 'alpha:0.20609822869300842))', - 'Button': '', + 'Button': '()', 'CalculatedClip': '(clip: (max: Vec2(x:0.5714026093482971, y:0.42888906598091125), min: Vec2(x:0.5780913233757019, ' 'y:0.20609822869300842)))', 'Camera': '(hdr: true, is_active: false, msaa_writeback: false, order: 61, viewport: None)', 'Camera2d': '(clear_color: None)', 'Camera3d': '(clear_color: None, depth_load_op: Clear(0.42888906598091125), depth_texture_usages: "", ' 'screen_space_specular_transmission_quality: "", screen_space_specular_transmission_steps: 73)', - 'CameraRenderGraph': '(sbnpsago)', - 'CameraTrackable': '', + 'CameraRenderGraph': '("sbnpsago")', + 'CameraTrackable': '()', 'CameraTracking': '(offset: Vec3(x:0.5714026093482971, y:0.42888906598091125, z:0.5780913233757019))', 'CameraTrackingOffset': '(Vec3(x:0.5714026093482971, y:0.42888906598091125, z:0.5780913233757019))', 'CascadeShadowConfig': '(bounds: [0.42888906598091125], minimum_distance: 0.5780913233757019, overlap_proportion: ' '0.20609822869300842)', 'Cascades': '(cascades: "")', - 'CascadesFrusta': '', - 'CascadesVisibleEntities': '', + 'CascadesFrusta': '()', + 'CascadesVisibleEntities': '()', 'Ccd': '(enabled: true)', 'Children': '([0])', 'ClusterConfig': 'None', @@ -232,10 +233,10 @@ 'ColorGrading': '(exposure: 0.5714026093482971, gamma: 0.42888906598091125, post_saturation: 0.5780913233757019, ' 'pre_saturation: 0.20609822869300842)', 'ContactForceEventThreshold': '(0.5714026093482971)', - 'ContentSize': '', + 'ContentSize': '()', 'ContrastAdaptiveSharpeningSettings': '(denoise: true, enabled: false, sharpening_strength: 0.42888906598091125)', - 'CubemapFrusta': '', - 'CubemapVisibleEntities': '', + 'CubemapFrusta': '()', + 'CubemapVisibleEntities': '()', 'Damping': '(angular_damping: 0.5714026093482971, linear_damping: 0.42888906598091125)', 'DebandDither': 'Disabled', 'DirectionalLight': '(color: Rgba(red:0.5714026093482971, green:0.42888906598091125, blue:0.5780913233757019, ' @@ -254,7 +255,7 @@ 'green:0.8235888481140137, blue:0.6534725427627563, alpha:0.16022956371307373), ' 'directional_light_exponent: 0.5206693410873413, falloff: "")', 'Friction': '(coefficient: 0.5714026093482971, combine_rule: "")', - 'Frustum': '', + 'Frustum': '()', 'Fxaa': '(edge_threshold: "", edge_threshold_min: "", enabled: true)', 'GlobalTransform': '((matrix3: (x_axis: Vec3A(x:0.5714026093482971, y:0.42888906598091125, z:0.5780913233757019), ' 'y_axis: Vec3A(x:0.20609822869300842, y:0.8133212327957153, z:0.8235888481140137), z_axis: ' @@ -289,13 +290,13 @@ 'Handle': 'Strong("")', 'InheritedVisibility': '(true)', 'Interaction': 'None', - 'Label': '', + 'Label': '()', 'LockedAxes': '(73)', 'MaterialInfo': '(name: "sbnpsago", source: "piuzfbqp")', 'Mesh2dHandle': '(Strong(""))', 'MeshMorphWeights': '(weights: [0.42888906598091125])', 'MorphWeights': '(first_mesh: "", weights: [0.42888906598091125])', - 'Name': '(hash: 73, name: bnpsagop)', + 'Name': '(hash: 73, name: "bnpsagop")', 'NestedTupleStuff': '(0.5714026093482971, 54, (basic: (a: 0.4825616776943207, b: 1, c: "gopiuzfb"), color: ' '(Rgba(red:0.5206693410873413, green:0.3277728259563446, blue:0.24999667704105377, ' 'alpha:0.952816903591156)), colors_list: ([Rgba(red:0.0445563830435276, green:0.8601610660552979, ' @@ -311,13 +312,13 @@ '(vec: (Vec3(x:0.1329781413078308, y:0.7678378224372864, z:0.9824132323265076))), text: ' '"otmbsahe", toggle: (false))', 'NestingTestLevel3': '(vec: (Vec3(x:0.5714026093482971, y:0.42888906598091125, z:0.5780913233757019)))', - 'NoFrustumCulling': '', - 'NoWireframe': '', + 'NoFrustumCulling': '()', + 'NoWireframe': '()', 'Node': '(calculated_size: Vec2(x:0.5714026093482971, y:0.42888906598091125), outline_offset: 0.5780913233757019, ' 'outline_width: 0.20609822869300842, stack_index: 62, unrounded_size: Vec2(x:0.8235888481140137, ' 'y:0.6534725427627563))', - 'NotShadowCaster': '', - 'NotShadowReceiver': '', + 'NotShadowCaster': '()', + 'NotShadowReceiver': '()', 'OrthographicProjection': '(area: (max: Vec2(x:0.5714026093482971, y:0.42888906598091125), min: ' 'Vec2(x:0.5780913233757019, y:0.20609822869300842)), far: 0.8133212327957153, near: ' '0.8235888481140137, scale: 0.6534725427627563, scaling_mode: ' @@ -328,13 +329,13 @@ 'Parent': '(0)', 'PerspectiveProjection': '(aspect_ratio: 0.5714026093482971, far: 0.42888906598091125, fov: 0.5780913233757019, near: ' '0.20609822869300842)', - 'Pickable': '', - 'Player': '', + 'Pickable': '()', + 'Player': '()', 'PointLight': '(color: Rgba(red:0.5714026093482971, green:0.42888906598091125, blue:0.5780913233757019, ' 'alpha:0.20609822869300842), intensity: 0.8133212327957153, radius: 0.8235888481140137, range: ' '0.6534725427627563, shadow_depth_bias: 0.16022956371307373, shadow_normal_bias: 0.5206693410873413, ' 'shadows_enabled: false)', - 'PrimaryWindow': '', + 'PrimaryWindow': '()', 'Projection': 'Perspective((aspect_ratio: 0.42888906598091125, far: 0.5780913233757019, fov: 0.20609822869300842, ' 'near: 0.8133212327957153))', 'RelativeCursorPosition': '(normalized: "", normalized_visible_node_rect: (max: Vec2(x:0.5714026093482971, ' @@ -342,15 +343,15 @@ 'RenderLayers': '(73)', 'Restitution': '(coefficient: 0.5714026093482971, combine_rule: "")', 'RigidBody': 'Dynamic', - 'SSAOSettings': '', + 'SSAOSettings': '()', 'ScreenSpaceAmbientOcclusionSettings': '(quality_level: "")', - 'Sensor': '', + 'Sensor': '()', 'ShadowFilteringMethod': 'Jimenez14', 'ShadowmapSettings': '(size: 73)', 'SkinnedMesh': '(inverse_bindposes: Strong(""), joints: [0, 0])', 'Sleeping': '(angular_threshold: 0.5714026093482971, linear_threshold: 0.42888906598091125, sleeping: true)', 'SolverGroups': '(filters: (73), memberships: (4))', - 'SpawnHere': '', + 'SpawnHere': '()', 'SpotLight': '(color: Rgba(red:0.5714026093482971, green:0.42888906598091125, blue:0.5780913233757019, ' 'alpha:0.20609822869300842), inner_angle: 0.8133212327957153, intensity: 0.8235888481140137, ' 'outer_angle: 0.6534725427627563, radius: 0.16022956371307373, range: 0.5206693410873413, ' @@ -402,7 +403,7 @@ 'UiImage': '(flip_x: true, flip_y: false, texture: Weak(Uuid(uuid: "73b3b118-7d01-4778-8bcc-4e79055f5d22")))', 'UiImageSize': '(size: Vec2(x:0.5714026093482971, y:0.42888906598091125))', 'UiTextureAtlasImage': '(flip_x: true, flip_y: false, index: 54)', - 'UnitTest': '', + 'UnitTest': '()', 'VecOfColors': '([Rgba(red:0.42888906598091125, green:0.5780913233757019, blue:0.20609822869300842, ' 'alpha:0.8133212327957153)])', 'VecOfF32s': '([0.42888906598091125])', @@ -411,7 +412,7 @@ 'Vec3(x:0.20609822869300842, y:0.8133212327957153, z:0.8235888481140137))', 'ViewVisibility': '(true)', 'Visibility': 'Visible', - 'VisibleEntities': '', + 'VisibleEntities': '()', 'Window': '(canvas: None, composite_alpha_mode: PostMultiplied, cursor: (grab_mode: Confined, hit_test: true, icon: ' 'Default, visible: false), decorations: false, enabled_buttons: (close: true, maximize: false, minimize: ' 'true), fit_canvas_to_parent: false, focused: true, ime_enabled: true, ime_position: ' @@ -423,5 +424,6 @@ '0.36258742213249207), resolution: (physical_height: 58, physical_width: 98, scale_factor: ' '0.8600491285324097, scale_factor_override: None), title: "otmbsahe", transparent: false, visible: true, ' 'window_level: Normal, window_theme: "")', - 'Wireframe': '', + 'Wireframe': '()', 'ZIndex': 'Local(54)'} + diff --git a/tools/bevy_components/tests/setup_data.py b/tools/bevy_components/tests/setup_data.py new file mode 100644 index 00000000..32c6b303 --- /dev/null +++ b/tools/bevy_components/tests/setup_data.py @@ -0,0 +1,31 @@ +import bpy +import pytest + +@pytest.fixture +def setup_data(request): + print("\nSetting up resources...") + + schemaPath = "../../testing/bevy_example/assets/registry.json" + + yield {"schema_path": schemaPath} + + def finalizer(): + print("\nPerforming teardown...") + registry = bpy.context.window_manager.components_registry + + type_infos = registry.type_infos + object = bpy.context.object + remove_component_operator = bpy.ops.object.remove_bevy_component + + for type_name in type_infos: + definition = type_infos[type_name] + component_name = definition["short_name"] + if component_name in object: + try: + remove_component_operator(component_name=component_name) + except Exception as error: + pass + + request.addfinalizer(finalizer) + + return None \ No newline at end of file diff --git a/tools/bevy_components/tests/test_components.py b/tools/bevy_components/tests/test_components.py index 49487ef5..ecda556f 100644 --- a/tools/bevy_components/tests/test_components.py +++ b/tools/bevy_components/tests/test_components.py @@ -1,5 +1,4 @@ import bpy -import pytest import pprint from ..propGroups.conversions_to_prop_group import property_group_value_from_custom_property_value @@ -7,37 +6,11 @@ from .component_values_shuffler import component_values_shuffler from .expected_component_values import (expected_custom_property_values, expected_custom_property_values_randomized) -@pytest.fixture -def setup_data(request): - print("\nSetting up resources...") - - def finalizer(): - print("\nPerforming teardown...") - registry = bpy.context.window_manager.components_registry - #registry.schemaPath = "../../testing/bevy_registry_export/basic/assets/registry.json" - #bpy.ops.object.reload_registry() - - type_infos = registry.type_infos - object = bpy.context.object - remove_component_operator = bpy.ops.object.remove_bevy_component - - for type_name in type_infos: - definition = type_infos[type_name] - component_name = definition["short_name"] - if component_name in object: - try: - remove_component_operator(component_name=component_name) - except Exception as error: - pass - - request.addfinalizer(finalizer) - - return None - +from .setup_data import setup_data def test_components_should_generate_correct_custom_properties(setup_data): registry = bpy.context.window_manager.components_registry - registry.schemaPath = "../../testing/bevy_registry_export/basic/assets/registry.json" + registry.schemaPath = setup_data["schema_path"] bpy.ops.object.reload_registry() type_infos = registry.type_infos @@ -83,9 +56,9 @@ def test_components_should_generate_correct_custom_properties(setup_data): assert len(added_components) == 152 -def test_components_should_generate_correct_custom_properties_with_randomozied_values(setup_data): +def test_components_should_generate_correct_custom_properties_with_randomized_values(setup_data): registry = bpy.context.window_manager.components_registry - registry.schemaPath = "../../testing/bevy_registry_export/basic/assets/registry.json" + registry.schemaPath = setup_data["schema_path"] bpy.ops.object.reload_registry() type_infos = registry.type_infos @@ -136,7 +109,7 @@ def test_components_should_generate_correct_custom_properties_with_randomozied_v def test_components_should_generate_correct_propertyGroup_values_from_custom_properties(setup_data): registry = bpy.context.window_manager.components_registry - registry.schemaPath = "../../testing/bevy_registry_export/basic/assets/registry.json" + registry.schemaPath = setup_data["schema_path"] bpy.ops.object.reload_registry() type_infos = registry.type_infos @@ -195,7 +168,7 @@ def test_components_should_generate_correct_propertyGroup_values_from_custom_pro def test_remove_components(setup_data): registry = bpy.context.window_manager.components_registry - registry.schemaPath = "../../testing/bevy_registry_export/basic/assets/registry.json" + registry.schemaPath = setup_data["schema_path"] bpy.ops.object.reload_registry() type_infos = registry.type_infos @@ -244,10 +217,9 @@ def test_remove_components(setup_data): def test_copy_paste_components(setup_data): context = bpy.context registry = context.window_manager.components_registry - registry.schemaPath = "../../testing/bevy_registry_export/basic/assets/registry.json" + registry.schemaPath = setup_data["schema_path"] bpy.ops.object.reload_registry() - #component_type = "bevy_bevy_registry_export_basic_example::test_components::BasicTest" short_name = "BasicTest" component_type = registry.short_names_to_long_names[short_name] @@ -294,4 +266,3 @@ def test_copy_paste_components(setup_data): a_fieldValue = getattr(propertyGroup, propertyGroup.field_names[0]) assert a_fieldValue == 25.0 - diff --git a/tools/bevy_components/tests/test_registry.py b/tools/bevy_components/tests/test_registry.py index 83222124..e13bb105 100644 --- a/tools/bevy_components/tests/test_registry.py +++ b/tools/bevy_components/tests/test_registry.py @@ -1,11 +1,10 @@ import bpy +from .setup_data import setup_data - -def test_blend(): +def test_blend(setup_data): registry = bpy.context.window_manager.components_registry - registry.schemaPath = "../../testing/bevy_registry_export/basic/assets/registry.json" + registry.schemaPath = setup_data["schema_path"] bpy.ops.object.reload_registry() - #print("registry type infos", registry.type_infos) short_name = "BasicTest" component_type = registry.short_names_to_long_names[short_name] @@ -19,11 +18,6 @@ def test_blend(): target_components_metadata = object.components_meta.components component_meta = next(filter(lambda component: component["name"] == short_name, target_components_metadata), None) propertyGroup = getattr(component_meta, property_group_name, None) - print("propertyGroup", propertyGroup, propertyGroup.field_names) - - - """copy_component_operator = bpy.ops.object.copy_bevy_component - copy_component_operator()""" assert propertyGroup.field_names == ['a', 'b', 'c'] \ No newline at end of file diff --git a/tools/bevy_components/tests/test_shuffler.py b/tools/bevy_components/tests/test_shuffler.py index 8d5aad6a..078e561e 100644 --- a/tools/bevy_components/tests/test_shuffler.py +++ b/tools/bevy_components/tests/test_shuffler.py @@ -1,9 +1,10 @@ import bpy from .component_values_shuffler import component_values_shuffler +from .setup_data import setup_data -def test_shuffler(): +def test_shuffler(setup_data): registry = bpy.context.window_manager.components_registry - registry.schemaPath = "../../testing/bevy_registry_export/basic/assets/registry.json" + registry.schemaPath = setup_data["schema_path"] bpy.ops.object.reload_registry() type_infos = registry.type_infos diff --git a/tools/gltf_auto_export/__init__.py b/tools/gltf_auto_export/__init__.py index 0b428eb2..4e2dcc4d 100644 --- a/tools/gltf_auto_export/__init__.py +++ b/tools/gltf_auto_export/__init__.py @@ -1,7 +1,7 @@ bl_info = { "name": "gltf_auto_export", "author": "kaosigh", - "version": (0, 13, 1), + "version": (0, 14, 0), "blender": (3, 4, 0), "location": "File > Import-Export", "description": "glTF/glb auto-export", diff --git a/tools/gltf_auto_export/helpers/helpers_scenes.py b/tools/gltf_auto_export/helpers/helpers_scenes.py index 90416bae..e5b4dfb4 100644 --- a/tools/gltf_auto_export/helpers/helpers_scenes.py +++ b/tools/gltf_auto_export/helpers/helpers_scenes.py @@ -71,7 +71,7 @@ def copy_hollowed_collection_into(source_collection, destination_collection, par empty_obj = make_empty(original_name, object.location, object.rotation_euler, object.scale, destination_collection) """we inject the collection/blueprint name, as a component called 'BlueprintName', but we only do this in the empty, not the original object""" empty_obj['BlueprintName'] = '"'+collection_name+'"' if legacy_mode else '("'+collection_name+'")' - empty_obj['SpawnHere'] = '' + empty_obj['SpawnHere'] = '()' # we copy custom properties over from our original object to our empty for component_name, component_value in object.items():