From 9b50d77790f4845c4268ceeac701626ead93d8cb Mon Sep 17 00:00:00 2001 From: Mark Moissette Date: Fri, 19 Jul 2024 01:24:24 +0200 Subject: [PATCH] chore(v0.14): upgraded all current crates, examples, testing setup etc to Bevy 0.14 (#195) * chore(v0.14): upgraded all current crates, examples, testing setup etc to Bevy 0.14 * chore(Blender tools): some minor fixed for Bevy 0.14 & version bump --- crates/bevy_gltf_blueprints/Cargo.toml | 8 +- crates/bevy_gltf_blueprints/README.md | 11 +- crates/bevy_gltf_blueprints/src/animation.rs | 2 + .../src/copy_components.rs | 3 +- crates/bevy_gltf_blueprints/src/lib.rs | 1 - crates/bevy_gltf_blueprints/src/materials.rs | 4 +- .../src/spawn_from_blueprints.rs | 18 +- crates/bevy_gltf_components/Cargo.toml | 6 +- crates/bevy_gltf_components/README.md | 11 +- .../src/blender_settings/lighting.rs | 75 +- .../src/ronstring_to_reflect_component.rs | 4 +- crates/bevy_gltf_save_load/Cargo.toml | 8 +- crates/bevy_gltf_save_load/README.md | 11 +- crates/bevy_gltf_save_load/src/loading.rs | 2 +- crates/bevy_gltf_save_load/src/saving.rs | 4 +- crates/bevy_registry_export/Cargo.toml | 12 +- crates/bevy_registry_export/README.md | 12 +- .../bevy_gltf_blueprints/animation/Cargo.toml | 4 +- .../animation/src/game/in_game.rs | 96 +- .../bevy_gltf_blueprints/basic/Cargo.toml | 4 +- .../basic_xpbd_physics/Cargo.toml | 4 +- .../bevy_gltf_blueprints/materials/Cargo.toml | 4 +- .../Cargo.toml | 4 +- .../bevy_gltf_components/basic/Cargo.toml | 2 +- examples/bevy_gltf_save_load/basic/Cargo.toml | 4 +- .../bevy_registry_export/basic/Cargo.toml | 4 +- .../basic/assets/registry.json | 6572 +++++++++++------ examples/common/Cargo.toml | 10 +- examples/common/src/lib.rs | 4 +- examples/common_rapier/Cargo.toml | 8 +- examples/common_rapier/src/physics/utils.rs | 127 +- examples/common_xpbd/Cargo.toml | 8 +- examples/common_xpbd/src/physics/utils.rs | 127 +- testing/bevy_example/Cargo.toml | 8 +- testing/bevy_example/src/game/mod.rs | 2 +- tools/bevy_components/__init__.py | 2 +- .../propGroups/conversions_from_prop_group.py | 4 +- .../propGroups/conversions_to_prop_group.py | 11 +- tools/bevy_components/registry/registry.py | 10 +- .../tests/component_values_shuffler.py | 5 +- tools/gltf_auto_export/__init__.py | 2 +- .../modules/bevy_scene_components.py | 2 +- 42 files changed, 4438 insertions(+), 2782 deletions(-) diff --git a/crates/bevy_gltf_blueprints/Cargo.toml b/crates/bevy_gltf_blueprints/Cargo.toml index b9755362..5ca181c0 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.10.2" +version = "0.11.0" authors = ["Mark 'kaosat-dev' Moissette"] description = "Adds the ability to define Blueprints/Prefabs for Bevy inside gltf files and spawn them in Bevy." homepage = "https://github.com/kaosat-dev/Blender_bevy_components_workflow" @@ -14,8 +14,8 @@ license = "MIT OR Apache-2.0" workspace = true [dependencies] -bevy_gltf_components = { version = "0.5", path = "../bevy_gltf_components" } -bevy = { version = "0.13", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf", "bevy_animation", "animation"] } +bevy_gltf_components = { version = "0.6", path = "../bevy_gltf_components" } +bevy = { version = "0.14", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf", "bevy_animation", "animation"] } [dev-dependencies] -bevy = { version = "0.13", default-features = false, features = ["dynamic_linking"] } \ No newline at end of file +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } \ No newline at end of file diff --git a/crates/bevy_gltf_blueprints/README.md b/crates/bevy_gltf_blueprints/README.md index 36ed49ec..49cb3b01 100644 --- a/crates/bevy_gltf_blueprints/README.md +++ b/crates/bevy_gltf_blueprints/README.md @@ -3,7 +3,9 @@ [![License](https://img.shields.io/crates/l/bevy_gltf_blueprints)](https://github.com/kaosat-dev/Blender_bevy_components_workflow/blob/main/crates/bevy_gltf_blueprints/License.md) [![Bevy tracking](https://img.shields.io/badge/Bevy%20tracking-released%20version-lightblue)](https://github.com/bevyengine/bevy/blob/main/docs/plugins_guidelines.md#main-branch-tracking) -# bevy_gltf_blueprints +# bevy_gltf_blueprints (deprecated in favor of Blenvy) + +> bevy_gltf_blueprints has been deprecated in favor of its successor [Blenvy](https://crates.io/crates/blenvy), part of the [Blenvy project](https://github.com/kaosat-dev/Blenvy). No further development or maintenance will be done for Bevy bevy_gltf_blueprints. See [#194](https://github.com/kaosat-dev/Blenvy/issues/194) for background. Built on [bevy_gltf_components](https://crates.io/crates/bevy_gltf_components) this crate adds the ability to define Blueprints/Prefabs for [Bevy](https://bevyengine.org/) inside gltf files and spawn them in Bevy. @@ -27,8 +29,8 @@ Here's a minimal usage example: ```toml # Cargo.toml [dependencies] -bevy="0.13" -bevy_gltf_blueprints = { version = "0.10"} +bevy="0.14" +bevy_gltf_blueprints = { version = "0.11.0"} ``` @@ -66,7 +68,7 @@ fn spawn_blueprint( Add the following to your `[dependencies]` section in `Cargo.toml`: ```toml -bevy_gltf_blueprints = "0.10" +bevy_gltf_blueprints = "0.11.0" ``` Or use `cargo add`: @@ -344,6 +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.11` | `0.14` | | `0.9 - 0.10` | `0.13` | | `0.3 - 0.8` | `0.12` | | `0.1 - 0.2` | `0.11` | diff --git a/crates/bevy_gltf_blueprints/src/animation.rs b/crates/bevy_gltf_blueprints/src/animation.rs index 4a18ec40..4f2d6528 100644 --- a/crates/bevy_gltf_blueprints/src/animation.rs +++ b/crates/bevy_gltf_blueprints/src/animation.rs @@ -6,6 +6,8 @@ use bevy::utils::HashMap; /// storage for animations for a given entity (hierarchy), essentially a clone of gltf's `named_animations` pub struct Animations { pub named_animations: HashMap>, + pub named_indices: HashMap, + pub graph: Handle, } #[derive(Component, Debug)] diff --git a/crates/bevy_gltf_blueprints/src/copy_components.rs b/crates/bevy_gltf_blueprints/src/copy_components.rs index e68cd3de..f9783825 100644 --- a/crates/bevy_gltf_blueprints/src/copy_components.rs +++ b/crates/bevy_gltf_blueprints/src/copy_components.rs @@ -1,5 +1,4 @@ -use bevy::ecs::system::Command; -use bevy::prelude::*; +use bevy::{ecs::world::Command, prelude::*}; use std::any::TypeId; // originally based https://github.com/bevyengine/bevy/issues/1515, diff --git a/crates/bevy_gltf_blueprints/src/lib.rs b/crates/bevy_gltf_blueprints/src/lib.rs index 36ac25bd..db9181f9 100644 --- a/crates/bevy_gltf_blueprints/src/lib.rs +++ b/crates/bevy_gltf_blueprints/src/lib.rs @@ -89,7 +89,6 @@ pub struct BlueprintsPlugin { pub library_folder: PathBuf, /// Automatically generate aabbs for the blueprints root objects pub aabbs: bool, - /// pub material_library: bool, pub material_library_folder: PathBuf, } diff --git a/crates/bevy_gltf_blueprints/src/materials.rs b/crates/bevy_gltf_blueprints/src/materials.rs index fe440d45..f9423311 100644 --- a/crates/bevy_gltf_blueprints/src/materials.rs +++ b/crates/bevy_gltf_blueprints/src/materials.rs @@ -172,10 +172,10 @@ pub(crate) fn materials_inject2( let mat_gltf = assets_gltf .get(model_handle.id()) .expect("material should have been preloaded"); - if mat_gltf.named_materials.contains_key(material_name) { + if mat_gltf.named_materials.contains_key(material_name as &str) { let material = mat_gltf .named_materials - .get(material_name) + .get(material_name as &str) .expect("this material should have been loaded"); blueprints_config .material_library_cache diff --git a/crates/bevy_gltf_blueprints/src/spawn_from_blueprints.rs b/crates/bevy_gltf_blueprints/src/spawn_from_blueprints.rs index f977c611..8c2a94db 100644 --- a/crates/bevy_gltf_blueprints/src/spawn_from_blueprints.rs +++ b/crates/bevy_gltf_blueprints/src/spawn_from_blueprints.rs @@ -192,6 +192,7 @@ pub(crate) fn check_for_loaded( } } +#[allow(clippy::too_many_arguments)] pub(crate) fn spawn_from_blueprints( spawn_placeholders: Query< ( @@ -214,6 +215,7 @@ pub(crate) fn spawn_from_blueprints( mut game_world: Query>, assets_gltf: Res>, + mut graphs: ResMut>, asset_server: Res, blueprints_config: Res, @@ -273,6 +275,18 @@ pub(crate) fn spawn_from_blueprints( original_children.push(*child); } } + + let mut graph = AnimationGraph::new(); + let mut named_animations: HashMap> = HashMap::new(); + let mut named_indices: HashMap = HashMap::new(); + + for (key, clip) in gltf.named_animations.iter() { + named_animations.insert(key.to_string(), clip.clone()); + let animation_index = graph.add_clip(clip.clone(), 1.0, graph.root); + named_indices.insert(key.to_string(), animation_index); + } + let graph = graphs.add(graph); + commands.entity(entity).insert(( SceneBundle { scene: scene.clone(), @@ -280,7 +294,9 @@ pub(crate) fn spawn_from_blueprints( ..Default::default() }, Animations { - named_animations: gltf.named_animations.clone(), + named_animations, + named_indices, + graph, }, Spawned, OriginalChildren(original_children), diff --git a/crates/bevy_gltf_components/Cargo.toml b/crates/bevy_gltf_components/Cargo.toml index 2004d97f..f1ae355c 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.5.1" +version = "0.6.0" authors = ["Mark 'kaosat-dev' Moissette"] description = "Allows you to define Bevy components direclty inside gltf files and instanciate the components on the Bevy side." homepage = "https://github.com/kaosat-dev/Blender_bevy_components_workflow" @@ -14,9 +14,9 @@ license = "MIT OR Apache-2.0" workspace = true [dependencies] -bevy = { version = "0.13", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf"] } +bevy = { version = "0.14", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf"] } serde = "1.0.188" ron = "0.8.1" [dev-dependencies] -bevy = { version = "0.13", default-features = false, features = ["dynamic_linking"] } \ No newline at end of file +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } \ No newline at end of file diff --git a/crates/bevy_gltf_components/README.md b/crates/bevy_gltf_components/README.md index 9ac36578..96610e56 100644 --- a/crates/bevy_gltf_components/README.md +++ b/crates/bevy_gltf_components/README.md @@ -4,7 +4,9 @@ [![Bevy tracking](https://img.shields.io/badge/Bevy%20tracking-released%20version-lightblue)](https://github.com/bevyengine/bevy/blob/main/docs/plugins_guidelines.md#main-branch-tracking) -# bevy_gltf_components +# bevy_gltf_components (deprecated in favor of Blenvy) + +> bevy_gltf_components has been deprecated in favor of its successor [Blenvy](https://crates.io/crates/blenvy), part of the [Blenvy project](https://github.com/kaosat-dev/Blenvy). No further development or maintenance will be done for Bevy bevy_gltf_components. See [#194](https://github.com/kaosat-dev/Blenvy/issues/194) for background. This crate allows you to define [Bevy](https://bevyengine.org/) components direclty inside gltf files and instanciate the components on the Bevy side. @@ -23,8 +25,8 @@ Here's a minimal usage example: ```toml # Cargo.toml [dependencies] -bevy="0.13" -bevy_gltf_components = { version = "0.5"} +bevy="0.14" +bevy_gltf_components = { version = "0.6"} ``` @@ -60,7 +62,7 @@ bevy_gltf_components = { version = "0.5"} Add the following to your `[dependencies]` section in `Cargo.toml`: ```toml -bevy_gltf_components = "0.5" +bevy_gltf_components = "0.6" ``` Or use `cargo add`: @@ -127,6 +129,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.6` | `0.14` | | `0.5` | `0.13` | | `0.2 - 0.4` | `0.12` | | `0.1` | `0.11` | diff --git a/crates/bevy_gltf_components/src/blender_settings/lighting.rs b/crates/bevy_gltf_components/src/blender_settings/lighting.rs index 2d9138df..622c0e19 100644 --- a/crates/bevy_gltf_components/src/blender_settings/lighting.rs +++ b/crates/bevy_gltf_components/src/blender_settings/lighting.rs @@ -1,10 +1,5 @@ use bevy::pbr::DirectionalLightShadowMap; use bevy::prelude::*; -use bevy::render::render_asset::RenderAssetUsages; -use bevy::render::render_resource::{ - Extent3d, TextureDimension, TextureFormat, TextureViewDescriptor, TextureViewDimension, -}; -use std::iter; use crate::GltfComponentsSet; @@ -56,17 +51,23 @@ fn process_lights( for (mut light, blender_light_shadows) in directional_lights.iter_mut() { if let Some(blender_light_shadows) = blender_light_shadows { light.shadows_enabled = blender_light_shadows.enabled; + } else { + light.shadows_enabled = true; } } for (mut light, blender_light_shadows) in spot_lights.iter_mut() { if let Some(blender_light_shadows) = blender_light_shadows { light.shadows_enabled = blender_light_shadows.enabled; + } else { + light.shadows_enabled = true; } } for (mut light, blender_light_shadows) in point_lights.iter_mut() { if let Some(blender_light_shadows) = blender_light_shadows { light.shadows_enabled = blender_light_shadows.enabled; + } else { + light.shadows_enabled = true; } } } @@ -83,66 +84,14 @@ fn process_shadowmap( } fn process_background_shader( - background_shaders: Query>, - cameras: Query<(Entity, Ref)>, - mut images: ResMut>, + background_shaders: Query<&BlenderBackgroundShader, Added>, mut commands: Commands, - mut env_map_handle: Local>>, ) { - let Ok(background_shader) = background_shaders.get_single() else { - return; - }; - - let env_map_handle = env_map_handle.get_or_insert_with(|| { - let size = Extent3d { - width: 1, - height: 6, - depth_or_array_layers: 1, - }; - let dimension = TextureDimension::D2; - const SIDES_PER_CUBE: usize = 6; - let data: Vec<_> = iter::repeat(background_shader.color.as_rgba_u8()) - .take(SIDES_PER_CUBE) - .flatten() - .collect(); - let format = TextureFormat::Rgba8UnormSrgb; - let asset_usage = RenderAssetUsages::RENDER_WORLD; - - let mut image = Image::new(size, dimension, data, format, asset_usage); - - // Source: https://github.com/bevyengine/bevy/blob/85b488b73d6f6e75690962fba67a144d9beb6b88/examples/3d/skybox.rs#L152-L160 - image.reinterpret_stacked_2d_as_array(image.height() / image.width()); - image.texture_view_descriptor = Some(TextureViewDescriptor { - dimension: Some(TextureViewDimension::Cube), - ..default() - }); - - images.add(image) - }); - // Don't need the handle to be &mut - let env_map_handle = &*env_map_handle; - - if background_shader.is_added() { - // We're using an environment map, so we don't need the ambient light - commands.remove_resource::(); - } - - let is_bg_outdated = background_shader.is_changed(); - if is_bg_outdated { - let color = background_shader.color * background_shader.strength; - commands.insert_resource(ClearColor(color)); - } - let camera_entities = cameras - .iter() - .filter_map(|(entity, cam)| (is_bg_outdated || cam.is_changed()).then_some(entity)); - - for camera_entity in camera_entities { - // See https://github.com/KhronosGroup/glTF-Blender-IO/blob/8573cc0dfb612091bfc1bcf6df55c18a44b9668a/addons/io_scene_gltf2/blender/com/gltf2_blender_conversion.py#L19 - const PBR_WATTS_TO_LUMENS: f32 = 683.0; - commands.entity(camera_entity).insert(EnvironmentMapLight { - diffuse_map: env_map_handle.clone(), - specular_map: env_map_handle.clone(), - intensity: background_shader.strength * PBR_WATTS_TO_LUMENS, + for background_shader in background_shaders.iter() { + commands.insert_resource(AmbientLight { + color: background_shader.color, + // Just a guess, see + brightness: background_shader.strength * 400.0, }); } } 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 dc095f5d..7506c894 100644 --- a/crates/bevy_gltf_components/src/ronstring_to_reflect_component.rs +++ b/crates/bevy_gltf_components/src/ronstring_to_reflect_component.rs @@ -1,5 +1,5 @@ use bevy::log::{debug, warn}; -use bevy::reflect::serde::UntypedReflectDeserializer; +use bevy::reflect::serde::ReflectDeserializer; use bevy::reflect::{Reflect, TypeInfo, TypeRegistration, TypeRegistry}; use bevy::utils::HashMap; use ron::Value; @@ -112,7 +112,7 @@ pub fn ronstring_to_reflect_component( debug!("component data ron string {}", ron_string); let mut deserializer = ron::Deserializer::from_str(ron_string.as_str()) .expect("deserialzer should have been generated from string"); - let reflect_deserializer = UntypedReflectDeserializer::new(type_registry); + let reflect_deserializer = ReflectDeserializer::new(type_registry); let component = reflect_deserializer .deserialize(&mut deserializer) .unwrap_or_else(|_| { diff --git a/crates/bevy_gltf_save_load/Cargo.toml b/crates/bevy_gltf_save_load/Cargo.toml index 4e7eeeaa..a8f76c48 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.4.1" +version = "0.5.0" authors = ["Mark 'kaosat-dev' Moissette"] description = "Save & load your bevy games" homepage = "https://github.com/kaosat-dev/Blender_bevy_components_workflow" @@ -14,8 +14,8 @@ license = "MIT OR Apache-2.0" workspace = true [dependencies] -bevy = { version = "0.13", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf"] } -bevy_gltf_blueprints = { version = "0.10", path = "../bevy_gltf_blueprints" } +bevy = { version = "0.14", default-features = false, features = ["bevy_asset", "bevy_scene", "bevy_gltf"] } +bevy_gltf_blueprints = { version = "0.11", path = "../bevy_gltf_blueprints" } [dev-dependencies] -bevy = { version = "0.13", default-features = false, features = ["dynamic_linking"] } +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } diff --git a/crates/bevy_gltf_save_load/README.md b/crates/bevy_gltf_save_load/README.md index 43aec046..aaf4cbbc 100644 --- a/crates/bevy_gltf_save_load/README.md +++ b/crates/bevy_gltf_save_load/README.md @@ -3,7 +3,9 @@ [![License](https://img.shields.io/crates/l/bevy_gltf_save_load)](https://github.com/kaosat-dev/Blender_bevy_components_workflow/blob/main/crates/bevy_gltf_save_load/License.md) [![Bevy tracking](https://img.shields.io/badge/Bevy%20tracking-released%20version-lightblue)](https://github.com/bevyengine/bevy/blob/main/docs/plugins_guidelines.md#main-branch-tracking) -# bevy_gltf_save_load +# bevy_gltf_save_load (deprecated in favor of Blenvy) + +> bevy_gltf_save_load has been deprecated in favor of its successor [Blenvy](https://crates.io/crates/blenvy), part of the [Blenvy project](https://github.com/kaosat-dev/Blenvy). No further development or maintenance will be done for Bevy bevy_gltf_save_load. See [#194](https://github.com/kaosat-dev/Blenvy/issues/194) for background. Built upon [bevy_gltf_blueprints](https://crates.io/crates/bevy_gltf_blueprints) this crate adds the ability to easilly **save** and **load** your game worlds for [Bevy](https://bevyengine.org/) . @@ -34,9 +36,9 @@ Here's a minimal usage example: ```toml # Cargo.toml [dependencies] -bevy="0.13" -bevy_gltf_save_load = "0.4" -bevy_gltf_blueprints = "0.10" // also needed +bevy="0.14" +bevy_gltf_save_load = "0.5" +bevy_gltf_blueprints = "0.11" // also needed ``` ```rust no_run @@ -298,6 +300,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.5 ` | `0.14` | | `0.4 ` | `0.13` | | `0.1 -0.3` | `0.12` | | branch `main` | `0.12` | diff --git a/crates/bevy_gltf_save_load/src/loading.rs b/crates/bevy_gltf_save_load/src/loading.rs index 7410eca1..1b23865e 100644 --- a/crates/bevy_gltf_save_load/src/loading.rs +++ b/crates/bevy_gltf_save_load/src/loading.rs @@ -32,7 +32,7 @@ pub(crate) fn mark_load_requested( let mut save_path: String = "".into(); for load_request in load_requests.read() { if !load_request.path.is_empty() { - save_path = load_request.path.clone(); + save_path.clone_from(&load_request.path); } } if !save_path.is_empty() { diff --git a/crates/bevy_gltf_save_load/src/saving.rs b/crates/bevy_gltf_save_load/src/saving.rs index b702ae89..41295d0a 100644 --- a/crates/bevy_gltf_save_load/src/saving.rs +++ b/crates/bevy_gltf_save_load/src/saving.rs @@ -80,7 +80,7 @@ pub(crate) fn save_game(world: &mut World) { for event in events.get_reader().read(&events) { info!("SAVE EVENT !! {:?}", event); - save_path = event.path.clone(); + save_path.clone_from(&event.path); } events.clear(); @@ -147,7 +147,7 @@ pub(crate) fn save_game(world: &mut World) { // dyn_scene.resources.append(&mut dyn_scene_root.resources); let serialized_scene = dyn_scene - .serialize_ron(world.resource::()) + .serialize(&world.resource::().read()) .unwrap(); let save_path = Path::new("assets") diff --git a/crates/bevy_registry_export/Cargo.toml b/crates/bevy_registry_export/Cargo.toml index 30e72cdc..291f465a 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.3.1" +version = "0.4.0" authors = ["Mark 'kaosat-dev' Moissette", "Pascal 'Killercup' Hertleif"] description = "Allows you to create a Json export of all your components/ registered types of your Bevy app/game" homepage = "https://github.com/kaosat-dev/Blender_bevy_components_workflow" @@ -11,11 +11,11 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", default-features = false, features = ["bevy_scene"] } -bevy_reflect = { version = "0.13", default-features = false } -bevy_app = { version = "0.13", default-features = false, features = ["bevy_reflect"] } -bevy_ecs = { version = "0.13", default-features = false, features = ["bevy_reflect"] } +bevy = { version = "0.14", default-features = false, features = ["bevy_scene"] } +bevy_reflect = { version = "0.14", default-features = false } +bevy_app = { version = "0.14", default-features = false, features = ["bevy_reflect"] } +bevy_ecs = { version = "0.14", default-features = false, features = ["bevy_reflect"] } serde_json = "1.0.108" [dev-dependencies] -bevy = { version = "0.13", default-features = false, features = ["dynamic_linking"] } \ No newline at end of file +bevy = { version = "0.14", default-features = false, features = ["dynamic_linking"] } \ No newline at end of file diff --git a/crates/bevy_registry_export/README.md b/crates/bevy_registry_export/README.md index 20a2a6e4..c8bac13b 100644 --- a/crates/bevy_registry_export/README.md +++ b/crates/bevy_registry_export/README.md @@ -3,7 +3,10 @@ [![License](https://img.shields.io/crates/l/bevy_registry_export)](https://github.com/kaosat-dev/Blender_bevy_components_workflow/blob/main/crates/bevy_registry_export/License.md) [![Bevy tracking](https://img.shields.io/badge/Bevy%20tracking-released%20version-lightblue)](https://github.com/bevyengine/bevy/blob/main/docs/plugins_guidelines.md#main-branch-tracking) -# bevy_registry_export +# bevy_registry_export (deprecated in favor of Blenvy) + +> bevy_registry_export has been deprecated in favor of its successor [Blenvy](https://crates.io/crates/blenvy), part of the [Blenvy project](https://github.com/kaosat-dev/Blenvy). No further development or maintenance will be done for Bevy bevy_registry_export. See [#194](https://github.com/kaosat-dev/Blenvy/issues/194) for background. + This plugin allows you to create a Json export of all your components/ registered types. Its main use case is as a backbone for the [```bevy_components``` Blender add-on](https://github.com/kaosat-dev/Blender_bevy_components_workflow/tree/main/tools/bevy_components), that allows you to add & edit components directly in Blender, using the actual type definitions from Bevy @@ -17,8 +20,8 @@ Here's a minimal usage example: ```toml # Cargo.toml [dependencies] -bevy="0.13" -bevy_registry_export = "0.3" +bevy="0.14" +bevy_registry_export = "0.4" ``` ```rust no_run @@ -44,7 +47,7 @@ take a look at the [example](https://github.com/kaosat-dev/Blender_bevy_componen Add the following to your `[dependencies]` section in `Cargo.toml`: ```toml -bevy_registry_export = "0.3" +bevy_registry_export = "0.4" ``` @@ -112,6 +115,7 @@ 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.4 ` | `0.14` | `0.3` | | `0.3 ` | `0.13` | `0.3` | | `0.2 ` | `0.12` | `0.3` | | `0.1 ` | `0.12` | `0.1 -0.2` | diff --git a/examples/bevy_gltf_blueprints/animation/Cargo.toml b/examples/bevy_gltf_blueprints/animation/Cargo.toml index 3f8a3b2f..eb35ecdf 100644 --- a/examples/bevy_gltf_blueprints/animation/Cargo.toml +++ b/examples/bevy_gltf_blueprints/animation/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } bevy_gltf_worlflow_examples_common_rapier = { path = "../../common_rapier" } -bevy_rapier3d = { version = "0.25.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } +bevy_rapier3d = { version = "0.27.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } rand = "0.8.5" diff --git a/examples/bevy_gltf_blueprints/animation/src/game/in_game.rs b/examples/bevy_gltf_blueprints/animation/src/game/in_game.rs index 454ce27b..05a94a9d 100644 --- a/examples/bevy_gltf_blueprints/animation/src/game/in_game.rs +++ b/examples/bevy_gltf_blueprints/animation/src/game/in_game.rs @@ -92,7 +92,7 @@ pub fn animation_change_on_proximity_foxes( players: Query<&GlobalTransform, With>, animated_foxes: Query<(&GlobalTransform, &AnimationPlayerLink, &Animations), With>, - mut animation_players: Query<&mut AnimationPlayer>, + mut animation_players: Query<(&mut AnimationPlayer, &mut AnimationTransitions)>, ) { for player_transforms in players.iter() { for (fox_tranforms, link, animations) in animated_foxes.iter() { @@ -108,14 +108,15 @@ pub fn animation_change_on_proximity_foxes( anim_name = "Survey"; } // now play the animation based on the chosen animation name - let mut animation_player = animation_players.get_mut(link.0).unwrap(); - animation_player - .play_with_transition( - animations - .named_animations + let (mut animation_player, mut animation_transitions) = + animation_players.get_mut(link.0).unwrap(); + animation_transitions + .play( + &mut animation_player, + *animations + .named_indices .get(anim_name) - .expect("animation name should be in the list") - .clone(), + .expect("animation name should be in the list"), Duration::from_secs(3), ) .repeat(); @@ -128,7 +129,7 @@ pub fn animation_change_on_proximity_robots( players: Query<&GlobalTransform, With>, animated_robots: Query<(&GlobalTransform, &AnimationPlayerLink, &Animations), With>, - mut animation_players: Query<&mut AnimationPlayer>, + mut animation_players: Query<(&mut AnimationPlayer, &mut AnimationTransitions)>, ) { for player_transforms in players.iter() { for (robot_tranforms, link, animations) in animated_robots.iter() { @@ -146,14 +147,15 @@ pub fn animation_change_on_proximity_robots( } // now play the animation based on the chosen animation name - let mut animation_player = animation_players.get_mut(link.0).unwrap(); - animation_player - .play_with_transition( - animations - .named_animations + let (mut animation_player, mut animation_transitions) = + animation_players.get_mut(link.0).unwrap(); + animation_transitions + .play( + &mut animation_player, + *animations + .named_indices .get(anim_name) - .expect("animation name should be in the list") - .clone(), + .expect("animation name should be in the list"), Duration::from_secs(3), ) .repeat(); @@ -165,7 +167,7 @@ pub fn animation_control( animated_enemies: Query<(&AnimationPlayerLink, &Animations), With>, animated_foxes: Query<(&AnimationPlayerLink, &Animations), With>, - mut animation_players: Query<&mut AnimationPlayer>, + mut animation_players: Query<(&mut AnimationPlayer, &mut AnimationTransitions)>, keycode: Res>, // mut entities_with_animations : Query<(&mut AnimationPlayer, &mut Animations)>, @@ -173,15 +175,16 @@ pub fn animation_control( // robots if keycode.just_pressed(KeyCode::KeyB) { for (link, animations) in animated_enemies.iter() { - let mut animation_player = animation_players.get_mut(link.0).unwrap(); + let (mut animation_player, mut animation_transitions) = + animation_players.get_mut(link.0).unwrap(); let anim_name = "Scan"; - animation_player - .play_with_transition( - animations - .named_animations + animation_transitions + .play( + &mut animation_player, + *animations + .named_indices .get(anim_name) - .expect("animation name should be in the list") - .clone(), + .expect("animation name should be in the list"), Duration::from_secs(5), ) .repeat(); @@ -191,15 +194,16 @@ pub fn animation_control( // foxes if keycode.just_pressed(KeyCode::KeyW) { for (link, animations) in animated_foxes.iter() { - let mut animation_player = animation_players.get_mut(link.0).unwrap(); + let (mut animation_player, mut animation_transitions) = + animation_players.get_mut(link.0).unwrap(); let anim_name = "Walk"; - animation_player - .play_with_transition( - animations - .named_animations + animation_transitions + .play( + &mut animation_player, + *animations + .named_indices .get(anim_name) - .expect("animation name should be in the list") - .clone(), + .expect("animation name should be in the list"), Duration::from_secs(5), ) .repeat(); @@ -208,15 +212,16 @@ pub fn animation_control( if keycode.just_pressed(KeyCode::KeyX) { for (link, animations) in animated_foxes.iter() { - let mut animation_player = animation_players.get_mut(link.0).unwrap(); + let (mut animation_player, mut animation_transitions) = + animation_players.get_mut(link.0).unwrap(); let anim_name = "Run"; - animation_player - .play_with_transition( - animations - .named_animations + animation_transitions + .play( + &mut animation_player, + *animations + .named_indices .get(anim_name) - .expect("animation name should be in the list") - .clone(), + .expect("animation name should be in the list"), Duration::from_secs(5), ) .repeat(); @@ -225,15 +230,16 @@ pub fn animation_control( if keycode.just_pressed(KeyCode::KeyC) { for (link, animations) in animated_foxes.iter() { - let mut animation_player = animation_players.get_mut(link.0).unwrap(); + let (mut animation_player, mut animation_transitions) = + animation_players.get_mut(link.0).unwrap(); let anim_name = "Survey"; - animation_player - .play_with_transition( - animations - .named_animations + animation_transitions + .play( + &mut animation_player, + *animations + .named_indices .get(anim_name) - .expect("animation name should be in the list") - .clone(), + .expect("animation name should be in the list"), Duration::from_secs(5), ) .repeat(); diff --git a/examples/bevy_gltf_blueprints/basic/Cargo.toml b/examples/bevy_gltf_blueprints/basic/Cargo.toml index bb9cb2fa..24e9bf6d 100644 --- a/examples/bevy_gltf_blueprints/basic/Cargo.toml +++ b/examples/bevy_gltf_blueprints/basic/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } bevy_gltf_worlflow_examples_common_rapier = { path = "../../common_rapier" } -bevy_rapier3d = { version = "0.25.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } +bevy_rapier3d = { version = "0.27.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } rand = "0.8.5" diff --git a/examples/bevy_gltf_blueprints/basic_xpbd_physics/Cargo.toml b/examples/bevy_gltf_blueprints/basic_xpbd_physics/Cargo.toml index 16b48783..f1e40911 100644 --- a/examples/bevy_gltf_blueprints/basic_xpbd_physics/Cargo.toml +++ b/examples/bevy_gltf_blueprints/basic_xpbd_physics/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } bevy_gltf_worlflow_examples_common_xpbd = { path = "../../common_xpbd" } -bevy_xpbd_3d = "0.4" +bevy_xpbd_3d = "0.5" rand = "0.8.5" \ No newline at end of file diff --git a/examples/bevy_gltf_blueprints/materials/Cargo.toml b/examples/bevy_gltf_blueprints/materials/Cargo.toml index a51a6904..74759aca 100644 --- a/examples/bevy_gltf_blueprints/materials/Cargo.toml +++ b/examples/bevy_gltf_blueprints/materials/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } bevy_gltf_worlflow_examples_common_rapier = { path = "../../common_rapier" } -bevy_rapier3d = { version = "0.25.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } +bevy_rapier3d = { version = "0.27.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } rand = "0.8.5" \ No newline at end of file diff --git a/examples/bevy_gltf_blueprints/multiple_levels_multiple_blendfiles/Cargo.toml b/examples/bevy_gltf_blueprints/multiple_levels_multiple_blendfiles/Cargo.toml index bea96b66..cdfc9de7 100644 --- a/examples/bevy_gltf_blueprints/multiple_levels_multiple_blendfiles/Cargo.toml +++ b/examples/bevy_gltf_blueprints/multiple_levels_multiple_blendfiles/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } bevy_gltf_worlflow_examples_common_rapier = { path = "../../common_rapier" } -bevy_rapier3d = { version = "0.25.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } +bevy_rapier3d = { version = "0.27.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } rand = "0.8.5" \ No newline at end of file diff --git a/examples/bevy_gltf_components/basic/Cargo.toml b/examples/bevy_gltf_components/basic/Cargo.toml index ab6eb9d2..6e6cb1aa 100644 --- a/examples/bevy_gltf_components/basic/Cargo.toml +++ b/examples/bevy_gltf_components/basic/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_components = { path = "../../../crates/bevy_gltf_components" } bevy_gltf_worlflow_examples_common_rapier = { path = "../../common_rapier" } diff --git a/examples/bevy_gltf_save_load/basic/Cargo.toml b/examples/bevy_gltf_save_load/basic/Cargo.toml index e1afba23..ce1e6e47 100644 --- a/examples/bevy_gltf_save_load/basic/Cargo.toml +++ b/examples/bevy_gltf_save_load/basic/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } bevy_gltf_save_load = { path = "../../../crates/bevy_gltf_save_load" } bevy_gltf_worlflow_examples_common_rapier = { path = "../../common_rapier" } serde_json = "1.0.108" serde = "1.0.193" -bevy_rapier3d = { version = "0.25.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } +bevy_rapier3d = { version = "0.27.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } rand = "0.8.5" \ No newline at end of file diff --git a/examples/bevy_registry_export/basic/Cargo.toml b/examples/bevy_registry_export/basic/Cargo.toml index 346510e9..47ca4fa0 100644 --- a/examples/bevy_registry_export/basic/Cargo.toml +++ b/examples/bevy_registry_export/basic/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../../crates/bevy_gltf_blueprints" } bevy_registry_export = { path = "../../../crates/bevy_registry_export" } bevy_gltf_worlflow_examples_common_rapier = { path = "../../common_rapier" } -bevy_rapier3d = { version = "0.25.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } +bevy_rapier3d = { version = "0.27.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } rand = "0.8.5" diff --git a/examples/bevy_registry_export/basic/assets/registry.json b/examples/bevy_registry_export/basic/assets/registry.json index 879ccd17..95194f2a 100644 --- a/examples/bevy_registry_export/basic/assets/registry.json +++ b/examples/bevy_registry_export/basic/assets/registry.json @@ -1,5 +1,15 @@ { "$defs": { + "()": { + "isComponent": false, + "isResource": false, + "items": false, + "prefixItems": [], + "short_name": "()", + "title": "()", + "type": "array", + "typeInfo": "Tuple" + }, "(f32, f32)": { "isComponent": false, "isResource": false, @@ -21,13 +31,26 @@ "type": "array", "typeInfo": "Tuple" }, - "alloc::borrow::Cow": { + "(u8, u8)": { "isComponent": false, "isResource": false, - "short_name": "Cow", - "title": "alloc::borrow::Cow", - "type": "object", - "typeInfo": "Value" + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/u8" + } + }, + { + "type": { + "$ref": "#/$defs/u8" + } + } + ], + "short_name": "(u8, u8)", + "title": "(u8, u8)", + "type": "array", + "typeInfo": "Tuple" }, "alloc::borrow::Cow": { "isComponent": false, @@ -84,6 +107,19 @@ "type": "array", "typeInfo": "List" }, + "alloc::vec::Vec": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/bevy_animation::transition::AnimationTransition" + } + }, + "short_name": "Vec", + "title": "alloc::vec::Vec", + "type": "array", + "typeInfo": "List" + }, "alloc::vec::Vec": { "isComponent": false, "isResource": false, @@ -97,6 +133,19 @@ "type": "array", "typeInfo": "List" }, + "alloc::vec::Vec": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/bevy_color::color::Color" + } + }, + "short_name": "Vec", + "title": "alloc::vec::Vec", + "type": "array", + "typeInfo": "List" + }, "alloc::vec::Vec": { "isComponent": false, "isResource": false, @@ -110,16 +159,42 @@ "type": "array", "typeInfo": "List" }, - "alloc::vec::Vec": { + "alloc::vec::Vec": { "isComponent": false, "isResource": false, "items": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_math::rects::urect::URect" } }, - "short_name": "Vec", - "title": "alloc::vec::Vec", + "short_name": "Vec", + "title": "alloc::vec::Vec", + "type": "array", + "typeInfo": "List" + }, + "alloc::vec::Vec": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/bevy_pbr::light::Cascade" + } + }, + "short_name": "Vec", + "title": "alloc::vec::Vec", + "type": "array", + "typeInfo": "List" + }, + "alloc::vec::Vec": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/bevy_text::glyph_brush::PositionedGlyph" + } + }, + "short_name": "Vec", + "title": "alloc::vec::Vec", "type": "array", "typeInfo": "List" }, @@ -136,6 +211,32 @@ "type": "array", "typeInfo": "List" }, + "alloc::vec::Vec": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/bevy_ui::ui_node::GridTrack" + } + }, + "short_name": "Vec", + "title": "alloc::vec::Vec", + "type": "array", + "typeInfo": "List" + }, + "alloc::vec::Vec": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/bevy_ui::ui_node::RepeatedGridTrack" + } + }, + "short_name": "Vec", + "title": "alloc::vec::Vec", + "type": "array", + "typeInfo": "List" + }, "alloc::vec::Vec": { "isComponent": false, "isResource": false, @@ -175,6 +276,32 @@ "type": "array", "typeInfo": "List" }, + "alloc::vec::Vec": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/u16" + } + }, + "short_name": "Vec", + "title": "alloc::vec::Vec", + "type": "array", + "typeInfo": "List" + }, + "alloc::vec::Vec": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/u32" + } + }, + "short_name": "Vec", + "title": "alloc::vec::Vec", + "type": "array", + "typeInfo": "List" + }, "bevy_animation::AnimationClip": { "additionalProperties": false, "isComponent": false, @@ -182,23 +309,17 @@ "properties": { "curves": { "type": { - "$ref": "#/$defs/alloc::vec::Vec>" + "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, bevy_utils::NoOpHash>" } }, "duration": { "type": { "$ref": "#/$defs/f32" } - }, - "paths": { - "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" - } } }, "required": [ "curves", - "paths", "duration" ], "short_name": "AnimationClip", @@ -211,26 +332,67 @@ "isComponent": true, "isResource": false, "properties": { - "animation": { + "active_animations": { "type": { - "$ref": "#/$defs/bevy_animation::PlayingAnimation" + "$ref": "#/$defs/std::collections::BTreeMap" } }, - "paused": { + "blend_weights": { "type": { - "$ref": "#/$defs/bool" + "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" } } }, "required": [ - "paused", - "animation" + "active_animations", + "blend_weights" ], "short_name": "AnimationPlayer", "title": "bevy_animation::AnimationPlayer", "type": "object", "typeInfo": "Struct" }, + "bevy_animation::AnimationTarget": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "id": { + "type": { + "$ref": "#/$defs/bevy_animation::AnimationTargetId" + } + }, + "player": { + "type": { + "$ref": "#/$defs/bevy_ecs::entity::Entity" + } + } + }, + "required": [ + "id", + "player" + ], + "short_name": "AnimationTarget", + "title": "bevy_animation::AnimationTarget", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_animation::AnimationTargetId": { + "isComponent": false, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/uuid::Uuid" + } + } + ], + "short_name": "AnimationTargetId", + "title": "bevy_animation::AnimationTargetId", + "type": "array", + "typeInfo": "TupleStruct" + }, "bevy_animation::Interpolation": { "isComponent": false, "isResource": false, @@ -341,6 +503,111 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_animation::graph::AnimationGraph": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "graph": { + "type": { + "$ref": "#/$defs/petgraph::graph::DiGraph" + } + }, + "root": { + "type": { + "$ref": "#/$defs/petgraph::graph::NodeIndex" + } + } + }, + "required": [ + "graph", + "root" + ], + "short_name": "AnimationGraph", + "title": "bevy_animation::graph::AnimationGraph", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_animation::transition::AnimationTransition": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "animation": { + "type": { + "$ref": "#/$defs/petgraph::graph::NodeIndex" + } + }, + "current_weight": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "weight_decline_per_sec": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "current_weight", + "weight_decline_per_sec", + "animation" + ], + "short_name": "AnimationTransition", + "title": "bevy_animation::transition::AnimationTransition", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_animation::transition::AnimationTransitions": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "main_animation": { + "type": { + "$ref": "#/$defs/core::option::Option" + } + }, + "transitions": { + "type": { + "$ref": "#/$defs/alloc::vec::Vec" + } + } + }, + "required": [ + "transitions" + ], + "short_name": "AnimationTransitions", + "title": "bevy_animation::transition::AnimationTransitions", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_asset::assets::AssetIndex": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "generation": { + "type": { + "$ref": "#/$defs/u32" + } + }, + "index": { + "type": { + "$ref": "#/$defs/u32" + } + } + }, + "required": [ + "generation", + "index" + ], + "short_name": "AssetIndex", + "title": "bevy_asset::assets::AssetIndex", + "type": "object", + "typeInfo": "Struct" + }, "bevy_asset::handle::Handle<()>": { "isComponent": true, "isResource": false, @@ -417,7 +684,7 @@ "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -440,7 +707,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -450,12 +717,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -478,7 +745,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -488,12 +755,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -516,7 +783,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -526,12 +793,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -554,7 +821,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -564,12 +831,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -592,7 +859,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -602,12 +869,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -630,7 +897,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -640,12 +907,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -668,7 +935,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -678,12 +945,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -706,7 +973,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -716,12 +983,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -744,7 +1011,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -754,12 +1021,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -782,7 +1049,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -792,12 +1059,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::handle::Handle": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -820,7 +1087,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -830,12 +1097,50 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "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": { + "bevy_asset::handle::Handle": { "isComponent": true, "isResource": false, "oneOf": [ @@ -858,7 +1163,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::id::AssetId" + "$ref": "#/$defs/bevy_asset::id::AssetId" } } ], @@ -868,8 +1173,8 @@ "typeInfo": "Tuple" } ], - "short_name": "Handle", - "title": "bevy_asset::handle::Handle", + "short_name": "Handle", + "title": "bevy_asset::handle::Handle", "type": "object", "typeInfo": "Enum" }, @@ -1243,7 +1548,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1289,7 +1594,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1307,6 +1612,52 @@ "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/uuid::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, @@ -1335,7 +1686,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1381,7 +1732,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1399,7 +1750,7 @@ "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1427,7 +1778,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1440,12 +1791,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1473,7 +1824,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1486,12 +1837,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1519,7 +1870,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1532,12 +1883,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1565,7 +1916,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1578,12 +1929,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1611,7 +1962,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1624,12 +1975,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1657,7 +2008,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1670,12 +2021,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1703,7 +2054,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1716,12 +2067,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1749,7 +2100,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1762,12 +2113,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1795,7 +2146,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1808,12 +2159,12 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, - "bevy_asset::id::AssetId": { + "bevy_asset::id::AssetId": { "isComponent": false, "isResource": false, "oneOf": [ @@ -1841,7 +2192,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1854,8 +2205,8 @@ "typeInfo": "Struct" } ], - "short_name": "AssetId", - "title": "bevy_asset::id::AssetId", + "short_name": "AssetId", + "title": "bevy_asset::id::AssetId", "type": "object", "typeInfo": "Enum" }, @@ -1887,7 +2238,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1933,7 +2284,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -1979,7 +2330,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -2025,7 +2376,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -2071,7 +2422,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -2117,7 +2468,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -2163,7 +2514,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -2209,7 +2560,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -2255,7 +2606,7 @@ "uuid": { "title": "uuid", "type": { - "$ref": "#/$defs/bevy_utils::Uuid" + "$ref": "#/$defs/uuid::Uuid" } } }, @@ -2273,11 +2624,11 @@ "type": "object", "typeInfo": "Enum" }, - "bevy_asset::path::AssetPath<'static>": { + "bevy_asset::path::AssetPath": { "isComponent": false, "isResource": false, - "short_name": "AssetPath<'static>", - "title": "bevy_asset::path::AssetPath<'static>", + "short_name": "AssetPath", + "title": "bevy_asset::path::AssetPath", "type": "object", "typeInfo": "Value" }, @@ -2403,6 +2754,22 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_audio::audio::SpatialScale": { + "isComponent": false, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/glam::Vec3" + } + } + ], + "short_name": "SpatialScale", + "title": "bevy_audio::audio::SpatialScale", + "type": "array", + "typeInfo": "TupleStruct" + }, "bevy_audio::audio::Volume": { "isComponent": false, "isResource": false, @@ -2679,7 +3046,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } } ], @@ -2818,7 +3185,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/alloc::vec::Vec" + "$ref": "#/$defs/alloc::vec::Vec" } } ], @@ -2843,651 +3210,786 @@ "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": { + "bevy_color::color::Color": { "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" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::srgba::Srgba" + } + } + ], + "short_name": "Srgba", + "title": "Srgba", + "type": "array", + "typeInfo": "Tuple" }, - "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, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::linear_rgba::LinearRgba" + } + } + ], + "short_name": "LinearRgba", + "title": "LinearRgba", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::hsla::Hsla" + } + } + ], + "short_name": "Hsla", + "title": "Hsla", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::hsva::Hsva" + } + } + ], + "short_name": "Hsva", + "title": "Hsva", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::hwba::Hwba" + } + } + ], + "short_name": "Hwba", + "title": "Hwba", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::laba::Laba" + } + } + ], + "short_name": "Laba", + "title": "Laba", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::lcha::Lcha" + } + } + ], + "short_name": "Lcha", + "title": "Lcha", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::oklaba::Oklaba" + } + } + ], + "short_name": "Oklaba", + "title": "Oklaba", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::oklcha::Oklcha" + } + } + ], + "short_name": "Oklcha", + "title": "Oklcha", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_color::xyza::Xyza" + } + } + ], + "short_name": "Xyza", + "title": "Xyza", + "type": "array", + "typeInfo": "Tuple" + } + ], + "short_name": "Color", + "title": "bevy_color::color::Color", + "type": "object", + "typeInfo": "Enum" + }, + "bevy_color::hsla::Hsla": { + "additionalProperties": false, + "isComponent": false, "isResource": false, "properties": { - "composite_mode": { + "alpha": { "type": { - "$ref": "#/$defs/bevy_core_pipeline::bloom::settings::BloomCompositeMode" + "$ref": "#/$defs/f32" } }, - "high_pass_frequency": { + "hue": { "type": { "$ref": "#/$defs/f32" } }, - "intensity": { + "lightness": { "type": { "$ref": "#/$defs/f32" } }, - "low_frequency_boost": { + "saturation": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "hue", + "saturation", + "lightness", + "alpha" + ], + "short_name": "Hsla", + "title": "bevy_color::hsla::Hsla", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_color::hsva::Hsva": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "alpha": { "type": { "$ref": "#/$defs/f32" } }, - "low_frequency_boost_curvature": { + "hue": { "type": { "$ref": "#/$defs/f32" } }, - "prefilter_settings": { + "saturation": { "type": { - "$ref": "#/$defs/bevy_core_pipeline::bloom::settings::BloomPrefilterSettings" + "$ref": "#/$defs/f32" + } + }, + "value": { + "type": { + "$ref": "#/$defs/f32" } } }, "required": [ - "intensity", - "low_frequency_boost", - "low_frequency_boost_curvature", - "high_pass_frequency", - "prefilter_settings", - "composite_mode" + "hue", + "saturation", + "value", + "alpha" ], - "short_name": "BloomSettings", - "title": "bevy_core_pipeline::bloom::settings::BloomSettings", + "short_name": "Hsva", + "title": "bevy_color::hsva::Hsva", "type": "object", "typeInfo": "Struct" }, - "bevy_core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings": { + "bevy_color::hwba::Hwba": { "additionalProperties": false, - "isComponent": true, + "isComponent": false, "isResource": false, "properties": { - "denoise": { + "alpha": { "type": { - "$ref": "#/$defs/bool" + "$ref": "#/$defs/f32" } }, - "enabled": { + "blackness": { "type": { - "$ref": "#/$defs/bool" + "$ref": "#/$defs/f32" } }, - "sharpening_strength": { + "hue": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "whiteness": { "type": { "$ref": "#/$defs/f32" } } }, "required": [ - "enabled", - "sharpening_strength", - "denoise" + "hue", + "whiteness", + "blackness", + "alpha" ], - "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": {}, - "required": [], - "short_name": "Camera2d", - "title": "bevy_core_pipeline::core_2d::camera_2d::Camera2d", + "short_name": "Hwba", + "title": "bevy_color::hwba::Hwba", "type": "object", "typeInfo": "Struct" }, - "bevy_core_pipeline::core_3d::camera_3d::Camera3d": { + "bevy_color::laba::Laba": { "additionalProperties": false, - "isComponent": true, + "isComponent": false, "isResource": false, "properties": { - "depth_load_op": { + "a": { "type": { - "$ref": "#/$defs/bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp" + "$ref": "#/$defs/f32" } }, - "depth_texture_usages": { + "alpha": { "type": { - "$ref": "#/$defs/bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthTextureUsage" + "$ref": "#/$defs/f32" } }, - "screen_space_specular_transmission_quality": { + "b": { "type": { - "$ref": "#/$defs/bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality" + "$ref": "#/$defs/f32" } }, - "screen_space_specular_transmission_steps": { + "lightness": { "type": { - "$ref": "#/$defs/usize" + "$ref": "#/$defs/f32" } } }, "required": [ - "depth_load_op", - "depth_texture_usages", - "screen_space_specular_transmission_steps", - "screen_space_specular_transmission_quality" + "lightness", + "a", + "b", + "alpha" ], - "short_name": "Camera3d", - "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3d", + "short_name": "Laba", + "title": "bevy_color::laba::Laba", "type": "object", "typeInfo": "Struct" }, - "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp": { + "bevy_color::lcha::Lcha": { + "additionalProperties": false, "isComponent": false, "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Clear", - "title": "Clear", - "type": "array", - "typeInfo": "Tuple" + "properties": { + "alpha": { + "type": { + "$ref": "#/$defs/f32" + } }, - { - "title": "Load" + "chroma": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "hue": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "lightness": { + "type": { + "$ref": "#/$defs/f32" + } } + }, + "required": [ + "lightness", + "chroma", + "hue", + "alpha" ], - "short_name": "Camera3dDepthLoadOp", - "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp", + "short_name": "Lcha", + "title": "bevy_color::lcha::Lcha", "type": "object", - "typeInfo": "Enum" + "typeInfo": "Struct" }, - "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthTextureUsage": { + "bevy_color::linear_rgba::LinearRgba": { + "additionalProperties": false, "isComponent": false, "isResource": false, - "items": false, - "prefixItems": [ - { + "properties": { + "alpha": { "type": { - "$ref": "#/$defs/u32" + "$ref": "#/$defs/f32" } - } - ], - "short_name": "Camera3dDepthTextureUsage", - "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthTextureUsage", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality": { - "isComponent": false, - "isResource": true, - "oneOf": [ - "Low", - "Medium", - "High", - "Ultra" - ], - "short_name": "ScreenSpaceTransmissionQuality", - "title": "bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality", - "type": "string", - "typeInfo": "Enum" - }, - "bevy_core_pipeline::fxaa::Fxaa": { - "additionalProperties": false, - "isComponent": true, - "isResource": false, - "properties": { - "edge_threshold": { + }, + "blue": { "type": { - "$ref": "#/$defs/bevy_core_pipeline::fxaa::Sensitivity" + "$ref": "#/$defs/f32" } }, - "edge_threshold_min": { + "green": { "type": { - "$ref": "#/$defs/bevy_core_pipeline::fxaa::Sensitivity" + "$ref": "#/$defs/f32" } }, - "enabled": { + "red": { "type": { - "$ref": "#/$defs/bool" + "$ref": "#/$defs/f32" } } }, "required": [ - "enabled", - "edge_threshold", - "edge_threshold_min" + "red", + "green", + "blue", + "alpha" ], - "short_name": "Fxaa", - "title": "bevy_core_pipeline::fxaa::Fxaa", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_core_pipeline::prepass::DeferredPrepass": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "DeferredPrepass", - "title": "bevy_core_pipeline::prepass::DeferredPrepass", - "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::MotionVectorPrepass": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": {}, - "required": [], - "short_name": "MotionVectorPrepass", - "title": "bevy_core_pipeline::prepass::MotionVectorPrepass", + "short_name": "LinearRgba", + "title": "bevy_color::linear_rgba::LinearRgba", "type": "object", "typeInfo": "Struct" }, - "bevy_core_pipeline::prepass::NormalPrepass": { + "bevy_color::oklaba::Oklaba": { "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::component::ComponentId": { - "isComponent": false, - "isResource": false, - "items": false, - "prefixItems": [ - { + "properties": { + "a": { "type": { - "$ref": "#/$defs/usize" + "$ref": "#/$defs/f32" } - } - ], - "short_name": "ComponentId", - "title": "bevy_ecs::component::ComponentId", - "type": "array", - "typeInfo": "TupleStruct" - }, - "bevy_ecs::component::ComponentTicks": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "added": { + }, + "alpha": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "b": { "type": { - "$ref": "#/$defs/bevy_ecs::component::Tick" + "$ref": "#/$defs/f32" } }, - "changed": { + "lightness": { "type": { - "$ref": "#/$defs/bevy_ecs::component::Tick" + "$ref": "#/$defs/f32" } } }, "required": [ - "added", - "changed" + "lightness", + "a", + "b", + "alpha" ], - "short_name": "ComponentTicks", - "title": "bevy_ecs::component::ComponentTicks", + "short_name": "Oklaba", + "title": "bevy_color::oklaba::Oklaba", "type": "object", "typeInfo": "Struct" }, - "bevy_ecs::component::Tick": { + "bevy_color::oklcha::Oklcha": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "tick": { + "alpha": { "type": { - "$ref": "#/$defs/u32" + "$ref": "#/$defs/f32" } - } - }, - "required": [ - "tick" - ], - "short_name": "Tick", - "title": "bevy_ecs::component::Tick", - "type": "object", - "typeInfo": "Struct" - }, - "bevy_ecs::entity::Entity": { - "isComponent": false, - "isResource": false, - "short_name": "Entity", - "title": "bevy_ecs::entity::Entity", - "type": "object", - "typeInfo": "Value" - }, - "bevy_egui::EguiSettings": { - "additionalProperties": false, - "isComponent": false, - "isResource": false, - "properties": { - "default_open_url_target": { + }, + "chroma": { "type": { - "$ref": "#/$defs/core::option::Option" + "$ref": "#/$defs/f32" } }, - "scale_factor": { + "hue": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "lightness": { "type": { "$ref": "#/$defs/f32" } } }, "required": [ - "scale_factor" + "lightness", + "chroma", + "hue", + "alpha" ], - "short_name": "EguiSettings", - "title": "bevy_egui::EguiSettings", + "short_name": "Oklcha", + "title": "bevy_color::oklcha::Oklcha", "type": "object", "typeInfo": "Struct" }, - "bevy_gizmos::aabb::AabbGizmoConfigGroup": { + "bevy_color::srgba::Srgba": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "default_color": { + "alpha": { "type": { - "$ref": "#/$defs/core::option::Option" + "$ref": "#/$defs/f32" } }, - "draw_all": { + "blue": { "type": { - "$ref": "#/$defs/bool" + "$ref": "#/$defs/f32" + } + }, + "green": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "red": { + "type": { + "$ref": "#/$defs/f32" } } }, "required": [ - "draw_all" + "red", + "green", + "blue", + "alpha" ], - "short_name": "AabbGizmoConfigGroup", - "title": "bevy_gizmos::aabb::AabbGizmoConfigGroup", + "short_name": "Srgba", + "title": "bevy_color::srgba::Srgba", "type": "object", "typeInfo": "Struct" }, - "bevy_gizmos::config::GizmoConfig": { + "bevy_color::xyza::Xyza": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "depth_bias": { + "alpha": { "type": { "$ref": "#/$defs/f32" } }, - "enabled": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "line_perspective": { + "x": { "type": { - "$ref": "#/$defs/bool" + "$ref": "#/$defs/f32" } }, - "line_width": { + "y": { "type": { "$ref": "#/$defs/f32" } }, - "render_layers": { + "z": { "type": { - "$ref": "#/$defs/bevy_render::view::visibility::render_layers::RenderLayers" + "$ref": "#/$defs/f32" } } }, "required": [ - "enabled", - "line_width", - "line_perspective", - "depth_bias", - "render_layers" + "x", + "y", + "z", + "alpha" ], - "short_name": "GizmoConfig", - "title": "bevy_gizmos::config::GizmoConfig", + "short_name": "Xyza", + "title": "bevy_color::xyza::Xyza", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf::GltfExtras": { + "bevy_core::name::Name": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": { - "value": { + "hash": { "type": { - "$ref": "#/$defs/alloc::string::String" + "$ref": "#/$defs/u64" + } + }, + "name": { + "type": { + "$ref": "#/$defs/alloc::borrow::Cow" } } }, "required": [ - "value" + "hash", + "name" ], - "short_name": "GltfExtras", - "title": "bevy_gltf::GltfExtras", + "short_name": "Name", + "title": "bevy_core::name::Name", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_blueprints::animation::Animations": { + "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": true, + "isComponent": false, "isResource": false, "properties": { - "named_animations": { + "threshold": { "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>" + "$ref": "#/$defs/f32" + } + }, + "threshold_softness": { + "type": { + "$ref": "#/$defs/f32" } } }, "required": [ - "named_animations" + "threshold", + "threshold_softness" ], - "short_name": "Animations", - "title": "bevy_gltf_blueprints::animation::Animations", + "short_name": "BloomPrefilterSettings", + "title": "bevy_core_pipeline::bloom::settings::BloomPrefilterSettings", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_blueprints::materials::MaterialInfo": { + "bevy_core_pipeline::bloom::settings::BloomSettings": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": { - "name": { + "composite_mode": { "type": { - "$ref": "#/$defs/alloc::string::String" + "$ref": "#/$defs/bevy_core_pipeline::bloom::settings::BloomCompositeMode" } }, - "source": { + "high_pass_frequency": { "type": { - "$ref": "#/$defs/alloc::string::String" + "$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": [ - "name", - "source" + "intensity", + "low_frequency_boost", + "low_frequency_boost_curvature", + "high_pass_frequency", + "prefilter_settings", + "composite_mode" ], - "short_name": "MaterialInfo", - "title": "bevy_gltf_blueprints::materials::MaterialInfo", + "short_name": "BloomSettings", + "title": "bevy_core_pipeline::bloom::settings::BloomSettings", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_blueprints::spawn_from_blueprints::BlueprintName": { + "bevy_core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings": { + "additionalProperties": false, "isComponent": true, "isResource": false, - "items": false, - "prefixItems": [ - { + "properties": { + "denoise": { "type": { - "$ref": "#/$defs/alloc::string::String" + "$ref": "#/$defs/bool" + } + }, + "enabled": { + "type": { + "$ref": "#/$defs/bool" + } + }, + "sharpening_strength": { + "type": { + "$ref": "#/$defs/f32" } } + }, + "required": [ + "enabled", + "sharpening_strength", + "denoise" ], - "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", + "short_name": "ContrastAdaptiveSharpeningSettings", + "title": "bevy_core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_components::GltfProcessed": { + "bevy_core_pipeline::core_2d::camera_2d::Camera2d": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": {}, "required": [], - "short_name": "GltfProcessed", - "title": "bevy_gltf_components::GltfProcessed", + "short_name": "Camera2d", + "title": "bevy_core_pipeline::core_2d::camera_2d::Camera2d", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_components::blender_settings::lighting::BlenderBackgroundShader": { + "bevy_core_pipeline::core_3d::camera_3d::Camera3d": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": { - "color": { + "depth_load_op": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthLoadOp" } }, - "strength": { + "depth_texture_usages": { "type": { - "$ref": "#/$defs/f32" + "$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": [ - "color", - "strength" + "depth_load_op", + "depth_texture_usages", + "screen_space_specular_transmission_steps", + "screen_space_specular_transmission_quality" ], - "short_name": "BlenderBackgroundShader", - "title": "bevy_gltf_components::blender_settings::lighting::BlenderBackgroundShader", + "short_name": "Camera3d", + "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3d", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_components::blender_settings::lighting::BlenderLightShadows": { + "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::core_3d::camera_3d::Camera3dDepthTextureUsage": { + "isComponent": false, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/u32" + } + } + ], + "short_name": "Camera3dDepthTextureUsage", + "title": "bevy_core_pipeline::core_3d::camera_3d::Camera3dDepthTextureUsage", + "type": "array", + "typeInfo": "TupleStruct" + }, + "bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality": { + "isComponent": false, + "isResource": true, + "oneOf": [ + "Low", + "Medium", + "High", + "Ultra" + ], + "short_name": "ScreenSpaceTransmissionQuality", + "title": "bevy_core_pipeline::core_3d::camera_3d::ScreenSpaceTransmissionQuality", + "type": "string", + "typeInfo": "Enum" + }, + "bevy_core_pipeline::fxaa::Fxaa": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": { - "buffer_bias": { + "edge_threshold": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/bevy_core_pipeline::fxaa::Sensitivity" + } + }, + "edge_threshold_min": { + "type": { + "$ref": "#/$defs/bevy_core_pipeline::fxaa::Sensitivity" } }, "enabled": { @@ -3498,550 +4000,280 @@ }, "required": [ "enabled", - "buffer_bias" + "edge_threshold", + "edge_threshold_min" ], - "short_name": "BlenderLightShadows", - "title": "bevy_gltf_components::blender_settings::lighting::BlenderLightShadows", + "short_name": "Fxaa", + "title": "bevy_core_pipeline::fxaa::Fxaa", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_components::blender_settings::lighting::BlenderShadowSettings": { - "additionalProperties": false, - "isComponent": true, + "bevy_core_pipeline::fxaa::Sensitivity": { + "isComponent": false, "isResource": false, - "properties": { - "cascade_size": { - "type": { - "$ref": "#/$defs/usize" - } - } - }, - "required": [ - "cascade_size" + "oneOf": [ + "Low", + "Medium", + "High", + "Ultra", + "Extreme" ], - "short_name": "BlenderShadowSettings", - "title": "bevy_gltf_components::blender_settings::lighting::BlenderShadowSettings", - "type": "object", - "typeInfo": "Struct" + "short_name": "Sensitivity", + "title": "bevy_core_pipeline::fxaa::Sensitivity", + "type": "string", + "typeInfo": "Enum" }, - "bevy_gltf_worlflow_examples_common::core::camera::camera_replace_proxies::SSAOSettings": { + "bevy_core_pipeline::prepass::DeferredPrepass": { "additionalProperties": false, - "isComponent": true, + "isComponent": false, "isResource": false, "properties": {}, "required": [], - "short_name": "SSAOSettings", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_replace_proxies::SSAOSettings", + "short_name": "DeferredPrepass", + "title": "bevy_core_pipeline::prepass::DeferredPrepass", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackable": { + "bevy_core_pipeline::prepass::DepthPrepass": { "additionalProperties": false, - "isComponent": true, + "isComponent": false, "isResource": false, "properties": {}, "required": [], - "short_name": "CameraTrackable", - "title": "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTrackable", + "short_name": "DepthPrepass", + "title": "bevy_core_pipeline::prepass::DepthPrepass", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_worlflow_examples_common::core::camera::camera_tracking::CameraTracking": { + "bevy_core_pipeline::prepass::MotionVectorPrepass": { "additionalProperties": false, - "isComponent": true, + "isComponent": false, "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", + "properties": {}, + "required": [], + "short_name": "MotionVectorPrepass", + "title": "bevy_core_pipeline::prepass::MotionVectorPrepass", "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::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, + "bevy_core_pipeline::prepass::NormalPrepass": { + "additionalProperties": false, + "isComponent": false, "isResource": false, "properties": {}, "required": [], - "short_name": "Player", - "title": "bevy_gltf_worlflow_examples_common::game::player::Player", + "short_name": "NormalPrepass", + "title": "bevy_core_pipeline::prepass::NormalPrepass", "type": "object", "typeInfo": "Struct" }, - "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::AutoAABBCollider": { - "isComponent": true, + "bevy_core_pipeline::smaa::SmaaPreset": { + "isComponent": false, "isResource": false, "oneOf": [ - "Cuboid", - "Ball", - "Capsule" + "Low", + "Medium", + "High", + "Ultra" ], - "short_name": "AutoAABBCollider", - "title": "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::AutoAABBCollider", + "short_name": "SmaaPreset", + "title": "bevy_core_pipeline::smaa::SmaaPreset", "type": "string", "typeInfo": "Enum" }, - "bevy_gltf_worlflow_examples_common_rapier::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_rapier::physics::physics_replace_proxies::Collider", - "type": "object", - "typeInfo": "Enum" - }, - "bevy_hierarchy::components::children::Children": { + "bevy_core_pipeline::smaa::SmaaSettings": { + "additionalProperties": false, "isComponent": true, "isResource": false, - "items": false, - "prefixItems": [ - { + "properties": { + "preset": { "type": { - "$ref": "#/$defs/bevy_utils::smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>" + "$ref": "#/$defs/bevy_core_pipeline::smaa::SmaaPreset" } } + }, + "required": [ + "preset" ], - "short_name": "Children", - "title": "bevy_hierarchy::components::children::Children", - "type": "array", - "typeInfo": "TupleStruct" + "short_name": "SmaaSettings", + "title": "bevy_core_pipeline::smaa::SmaaSettings", + "type": "object", + "typeInfo": "Struct" }, - "bevy_hierarchy::components::parent::Parent": { + "bevy_core_pipeline::tonemapping::DebandDither": { "isComponent": true, "isResource": false, - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_ecs::entity::Entity" - } - } + "oneOf": [ + "Disabled", + "Enabled" ], - "short_name": "Parent", - "title": "bevy_hierarchy::components::parent::Parent", - "type": "array", - "typeInfo": "TupleStruct" + "short_name": "DebandDither", + "title": "bevy_core_pipeline::tonemapping::DebandDither", + "type": "string", + "typeInfo": "Enum" }, - "bevy_input::ButtonState": { - "isComponent": false, + "bevy_core_pipeline::tonemapping::Tonemapping": { + "isComponent": true, "isResource": false, "oneOf": [ - "Pressed", - "Released" + "None", + "Reinhard", + "ReinhardLuminance", + "AcesFitted", + "AgX", + "SomewhatBoringDisplayTransform", + "TonyMcMapface", + "BlenderFilmic" ], - "short_name": "ButtonState", - "title": "bevy_input::ButtonState", + "short_name": "Tonemapping", + "title": "bevy_core_pipeline::tonemapping::Tonemapping", "type": "string", "typeInfo": "Enum" }, - "bevy_input::gamepad::AxisSettings": { + "bevy_ecs::entity::Entity": { + "isComponent": false, + "isResource": false, + "short_name": "Entity", + "title": "bevy_ecs::entity::Entity", + "type": "object", + "typeInfo": "Value" + }, + "bevy_gizmos::aabb::AabbGizmoConfigGroup": { "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": { + "default_color": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/core::option::Option" } }, - "threshold": { + "draw_all": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/bool" } } }, "required": [ - "livezone_upperbound", - "deadzone_upperbound", - "deadzone_lowerbound", - "livezone_lowerbound", - "threshold" + "draw_all" ], - "short_name": "AxisSettings", - "title": "bevy_input::gamepad::AxisSettings", + "short_name": "AabbGizmoConfigGroup", + "title": "bevy_gizmos::aabb::AabbGizmoConfigGroup", "type": "object", "typeInfo": "Struct" }, - "bevy_input::gamepad::ButtonAxisSettings": { + "bevy_gizmos::config::GizmoConfig": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "high": { + "depth_bias": { "type": { "$ref": "#/$defs/f32" } }, - "low": { + "enabled": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/bool" } }, - "threshold": { + "line_joints": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/bevy_gizmos::config::GizmoLineJoint" } - } - }, - "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": { + }, + "line_perspective": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/bool" } }, - "release_threshold": { + "line_style": { + "type": { + "$ref": "#/$defs/bevy_gizmos::config::GizmoLineStyle" + } + }, + "line_width": { "type": { "$ref": "#/$defs/f32" } + }, + "render_layers": { + "type": { + "$ref": "#/$defs/bevy_render::view::visibility::render_layers::RenderLayers" + } } }, "required": [ - "press_threshold", - "release_threshold" + "enabled", + "line_width", + "line_perspective", + "line_style", + "depth_bias", + "render_layers", + "line_joints" ], - "short_name": "ButtonSettings", - "title": "bevy_input::gamepad::ButtonSettings", + "short_name": "GizmoConfig", + "title": "bevy_gizmos::config::GizmoConfig", "type": "object", "typeInfo": "Struct" }, - "bevy_input::gamepad::Gamepad": { + "bevy_gizmos::config::GizmoConfigStore": { "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", + "isResource": true, + "properties": {}, + "required": [], + "short_name": "GizmoConfigStore", + "title": "bevy_gizmos::config::GizmoConfigStore", "type": "object", "typeInfo": "Struct" }, - "bevy_input::gamepad::GamepadAxisType": { + "bevy_gizmos::config::GizmoLineJoint": { "isComponent": false, "isResource": false, "oneOf": [ { - "title": "LeftStickX" - }, - { - "title": "LeftStickY" - }, - { - "title": "LeftZ" - }, - { - "title": "RightStickX" - }, - { - "title": "RightStickY" + "title": "None" }, { - "title": "RightZ" + "title": "Miter" }, { "items": false, "prefixItems": [ { "type": { - "$ref": "#/$defs/u8" + "$ref": "#/$defs/u32" } } ], - "short_name": "Other", - "title": "Other", + "short_name": "Round", + "title": "Round", "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" - } + { + "title": "Bevel" } - }, - "required": [ - "button", - "state" ], - "short_name": "GamepadButtonInput", - "title": "bevy_input::gamepad::GamepadButtonInput", + "short_name": "GizmoLineJoint", + "title": "bevy_gizmos::config::GizmoLineJoint", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "bevy_input::gamepad::GamepadButtonType": { + "bevy_gizmos::config::GizmoLineStyle": { "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" - } + "Solid", + "Dotted" ], - "short_name": "GamepadButtonType", - "title": "bevy_input::gamepad::GamepadButtonType", - "type": "object", + "short_name": "GizmoLineStyle", + "title": "bevy_gizmos::config::GizmoLineStyle", + "type": "string", "typeInfo": "Enum" }, - "bevy_input::gamepad::GamepadConnection": { + "bevy_gizmos::light::LightGizmoColor": { "isComponent": false, "isResource": false, "oneOf": [ @@ -4050,82 +4282,1147 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_input::gamepad::GamepadInfo" + "$ref": "#/$defs/bevy_color::color::Color" } } ], - "short_name": "Connected", - "title": "Connected", + "short_name": "Manual", + "title": "Manual", "type": "array", "typeInfo": "Tuple" }, { - "title": "Disconnected" + "title": "Varied" + }, + { + "title": "MatchLightColor" + }, + { + "title": "ByLightType" } ], - "short_name": "GamepadConnection", - "title": "bevy_input::gamepad::GamepadConnection", + "short_name": "LightGizmoColor", + "title": "bevy_gizmos::light::LightGizmoColor", "type": "object", "typeInfo": "Enum" }, - "bevy_input::gamepad::GamepadSettings": { + "bevy_gizmos::light::LightGizmoConfigGroup": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "axis_settings": { + "color": { "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" + "$ref": "#/$defs/bevy_gizmos::light::LightGizmoColor" } }, - "button_axis_settings": { + "directional_light_color": { "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" + "$ref": "#/$defs/bevy_color::color::Color" } }, - "button_settings": { + "draw_all": { "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" + "$ref": "#/$defs/bool" } }, - "default_axis_settings": { + "point_light_color": { "type": { - "$ref": "#/$defs/bevy_input::gamepad::AxisSettings" + "$ref": "#/$defs/bevy_color::color::Color" } }, - "default_button_axis_settings": { + "spot_light_color": { "type": { - "$ref": "#/$defs/bevy_input::gamepad::ButtonAxisSettings" + "$ref": "#/$defs/bevy_color::color::Color" } - }, - "default_button_settings": { + } + }, + "required": [ + "draw_all", + "color", + "point_light_color", + "spot_light_color", + "directional_light_color" + ], + "short_name": "LightGizmoConfigGroup", + "title": "bevy_gizmos::light::LightGizmoConfigGroup", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_gltf::GltfExtras": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "value": { "type": { - "$ref": "#/$defs/bevy_input::gamepad::ButtonSettings" + "$ref": "#/$defs/alloc::string::String" } } }, "required": [ - "default_button_settings", - "default_axis_settings", - "default_button_axis_settings", - "button_settings", - "axis_settings", - "button_axis_settings" + "value" ], - "short_name": "GamepadSettings", - "title": "bevy_input::gamepad::GamepadSettings", + "short_name": "GltfExtras", + "title": "bevy_gltf::GltfExtras", "type": "object", "typeInfo": "Struct" }, - "bevy_input::keyboard::Key": { - "isComponent": false, + "bevy_gltf::GltfMaterialExtras": { + "additionalProperties": false, + "isComponent": true, "isResource": false, - "oneOf": [ - { - "items": false, - "prefixItems": [ - { - "type": { + "properties": { + "value": { + "type": { + "$ref": "#/$defs/alloc::string::String" + } + } + }, + "required": [ + "value" + ], + "short_name": "GltfMaterialExtras", + "title": "bevy_gltf::GltfMaterialExtras", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_gltf::GltfMeshExtras": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "value": { + "type": { + "$ref": "#/$defs/alloc::string::String" + } + } + }, + "required": [ + "value" + ], + "short_name": "GltfMeshExtras", + "title": "bevy_gltf::GltfMeshExtras", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_gltf::GltfSceneExtras": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "value": { + "type": { + "$ref": "#/$defs/alloc::string::String" + } + } + }, + "required": [ + "value" + ], + "short_name": "GltfSceneExtras", + "title": "bevy_gltf::GltfSceneExtras", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_gltf_blueprints::animation::Animations": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "graph": { + "type": { + "$ref": "#/$defs/bevy_asset::handle::Handle" + } + }, + "named_animations": { + "type": { + "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>" + } + }, + "named_indices": { + "type": { + "$ref": "#/$defs/bevy_utils::hashbrown::HashMap" + } + } + }, + "required": [ + "named_animations", + "named_indices", + "graph" + ], + "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::BlueprintsList": { + "isComponent": true, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>" + } + } + ], + "short_name": "BlueprintsList", + "title": "bevy_gltf_blueprints::spawn_from_blueprints::BlueprintsList", + "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_components::GltfProcessed": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": {}, + "required": [], + "short_name": "GltfProcessed", + "title": "bevy_gltf_components::GltfProcessed", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_gltf_components::blender_settings::lighting::BlenderBackgroundShader": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "color": { + "type": { + "$ref": "#/$defs/bevy_color::color::Color" + } + }, + "strength": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "color", + "strength" + ], + "short_name": "BlenderBackgroundShader", + "title": "bevy_gltf_components::blender_settings::lighting::BlenderBackgroundShader", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_gltf_components::blender_settings::lighting::BlenderLightShadows": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "buffer_bias": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "enabled": { + "type": { + "$ref": "#/$defs/bool" + } + } + }, + "required": [ + "enabled", + "buffer_bias" + ], + "short_name": "BlenderLightShadows", + "title": "bevy_gltf_components::blender_settings::lighting::BlenderLightShadows", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_gltf_components::blender_settings::lighting::BlenderShadowSettings": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "cascade_size": { + "type": { + "$ref": "#/$defs/usize" + } + } + }, + "required": [ + "cascade_size" + ], + "short_name": "BlenderShadowSettings", + "title": "bevy_gltf_components::blender_settings::lighting::BlenderShadowSettings", + "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::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_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::AutoAABBCollider": { + "isComponent": true, + "isResource": false, + "oneOf": [ + "Cuboid", + "Ball", + "Capsule" + ], + "short_name": "AutoAABBCollider", + "title": "bevy_gltf_worlflow_examples_common_rapier::physics::physics_replace_proxies::AutoAABBCollider", + "type": "string", + "typeInfo": "Enum" + }, + "bevy_gltf_worlflow_examples_common_rapier::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_rapier::physics::physics_replace_proxies::Collider", + "type": "object", + "typeInfo": "Enum" + }, + "bevy_hierarchy::components::children::Children": { + "isComponent": true, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/smallvec::SmallVec<[bevy_ecs::entity::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::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::GamepadAxisChangedEvent": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "axis_type": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::GamepadAxisType" + } + }, + "gamepad": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::Gamepad" + } + }, + "value": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "gamepad", + "axis_type", + "value" + ], + "short_name": "GamepadAxisChangedEvent", + "title": "bevy_input::gamepad::GamepadAxisChangedEvent", + "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::GamepadButtonChangedEvent": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "button_type": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::GamepadButtonType" + } + }, + "gamepad": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::Gamepad" + } + }, + "value": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "gamepad", + "button_type", + "value" + ], + "short_name": "GamepadButtonChangedEvent", + "title": "bevy_input::gamepad::GamepadButtonChangedEvent", + "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::GamepadConnectionEvent": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "connection": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::GamepadConnection" + } + }, + "gamepad": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::Gamepad" + } + } + }, + "required": [ + "gamepad", + "connection" + ], + "short_name": "GamepadConnectionEvent", + "title": "bevy_input::gamepad::GamepadConnectionEvent", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_input::gamepad::GamepadEvent": { + "isComponent": false, + "isResource": false, + "oneOf": [ + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::GamepadConnectionEvent" + } + } + ], + "short_name": "Connection", + "title": "Connection", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::GamepadButtonChangedEvent" + } + } + ], + "short_name": "Button", + "title": "Button", + "type": "array", + "typeInfo": "Tuple" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::GamepadAxisChangedEvent" + } + } + ], + "short_name": "Axis", + "title": "Axis", + "type": "array", + "typeInfo": "Tuple" + } + ], + "short_name": "GamepadEvent", + "title": "bevy_input::gamepad::GamepadEvent", + "type": "object", + "typeInfo": "Enum" + }, + "bevy_input::gamepad::GamepadInfo": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "name": { + "type": { + "$ref": "#/$defs/alloc::string::String" + } + } + }, + "required": [ + "name" + ], + "short_name": "GamepadInfo", + "title": "bevy_input::gamepad::GamepadInfo", + "type": "object", + "typeInfo": "Struct" + }, + "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::gestures::DoubleTapGesture": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": {}, + "required": [], + "short_name": "DoubleTapGesture", + "title": "bevy_input::gestures::DoubleTapGesture", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_input::gestures::PanGesture": { + "isComponent": false, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/glam::Vec2" + } + } + ], + "short_name": "PanGesture", + "title": "bevy_input::gestures::PanGesture", + "type": "array", + "typeInfo": "TupleStruct" + }, + "bevy_input::gestures::PinchGesture": { + "isComponent": false, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/f32" + } + } + ], + "short_name": "PinchGesture", + "title": "bevy_input::gestures::PinchGesture", + "type": "array", + "typeInfo": "TupleStruct" + }, + "bevy_input::gestures::RotationGesture": { + "isComponent": false, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/f32" + } + } + ], + "short_name": "RotationGesture", + "title": "bevy_input::gestures::RotationGesture", + "type": "array", + "typeInfo": "TupleStruct" + }, + "bevy_input::keyboard::Key": { + "isComponent": false, + "isResource": false, + "oneOf": [ + { + "items": false, + "prefixItems": [ + { + "type": { "$ref": "#/$defs/smol_str::SmolStr" } } @@ -5944,79 +7241,11 @@ }, "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::Entity" - } - }, - "x": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "unit", - "x", - "y", + "state", "window" ], - "short_name": "MouseWheel", - "title": "bevy_input::mouse::MouseWheel", + "short_name": "MouseButtonInput", + "title": "bevy_input::mouse::MouseButtonInput", "type": "object", "typeInfo": "Struct" }, @@ -6097,404 +7326,113 @@ }, "position": { "type": { - "$ref": "#/$defs/glam::Vec2" - } - }, - "window": { - "type": { - "$ref": "#/$defs/bevy_ecs::entity::Entity" - } - } - }, - "required": [ - "phase", - "position", - "window", - "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::fog::FogFalloff": { - "isComponent": false, - "isResource": false, - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "end": { - "title": "end", - "type": { - "$ref": "#/$defs/f32" - } - }, - "start": { - "title": "start", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "start", - "end" - ], - "short_name": "Linear", - "title": "Linear", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "density": { - "title": "density", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "density" - ], - "short_name": "Exponential", - "title": "Exponential", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "density": { - "title": "density", - "type": { - "$ref": "#/$defs/f32" - } - } - }, - "required": [ - "density" - ], - "short_name": "ExponentialSquared", - "title": "ExponentialSquared", - "type": "object", - "typeInfo": "Struct" - }, - { - "additionalProperties": false, - "properties": { - "extinction": { - "title": "extinction", - "type": { - "$ref": "#/$defs/glam::Vec3" - } - }, - "inscattering": { - "title": "inscattering", - "type": { - "$ref": "#/$defs/glam::Vec3" - } - } - }, - "required": [ - "extinction", - "inscattering" - ], - "short_name": "Atmospheric", - "title": "Atmospheric", - "type": "object", - "typeInfo": "Struct" - } - ], - "short_name": "FogFalloff", - "title": "bevy_pbr::fog::FogFalloff", - "type": "object", - "typeInfo": "Enum" - }, - "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" + "$ref": "#/$defs/glam::Vec2" } }, - "falloff": { + "window": { "type": { - "$ref": "#/$defs/bevy_pbr::fog::FogFalloff" + "$ref": "#/$defs/bevy_ecs::entity::Entity" } } }, "required": [ - "color", - "directional_light_color", - "directional_light_exponent", - "falloff" + "phase", + "position", + "window", + "id" ], - "short_name": "FogSettings", - "title": "bevy_pbr::fog::FogSettings", + "short_name": "TouchInput", + "title": "bevy_input::touch::TouchInput", "type": "object", "typeInfo": "Struct" }, - "bevy_pbr::light::AmbientLight": { + "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_math::rects::rect::Rect": { "additionalProperties": false, "isComponent": false, - "isResource": true, + "isResource": false, "properties": { - "brightness": { + "max": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/glam::Vec2" } }, - "color": { + "min": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/glam::Vec2" } } }, "required": [ - "color", - "brightness" + "min", + "max" ], - "short_name": "AmbientLight", - "title": "bevy_pbr::light::AmbientLight", + "short_name": "Rect", + "title": "bevy_math::rects::rect::Rect", "type": "object", "typeInfo": "Struct" }, - "bevy_pbr::light::Cascade": { + "bevy_math::rects::urect::URect": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "projection": { - "type": { - "$ref": "#/$defs/glam::Mat4" - } - }, - "texel_size": { - "type": { - "$ref": "#/$defs/f32" - } - }, - "view_projection": { + "max": { "type": { - "$ref": "#/$defs/glam::Mat4" + "$ref": "#/$defs/glam::UVec2" } }, - "view_transform": { + "min": { "type": { - "$ref": "#/$defs/glam::Mat4" + "$ref": "#/$defs/glam::UVec2" } } }, "required": [ - "view_transform", - "projection", - "view_projection", - "texel_size" + "min", + "max" ], - "short_name": "Cascade", - "title": "bevy_pbr::light::Cascade", + "short_name": "URect", + "title": "bevy_math::rects::urect::URect", "type": "object", "typeInfo": "Struct" }, - "bevy_pbr::light::CascadeShadowConfig": { + "bevy_pbr::bundle::CascadesVisibleEntities": { "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", + "properties": {}, + "required": [], + "short_name": "CascadesVisibleEntities", + "title": "bevy_pbr::bundle::CascadesVisibleEntities", "type": "object", "typeInfo": "Struct" }, - "bevy_pbr::light::Cascades": { + "bevy_pbr::bundle::CubemapVisibleEntities": { "additionalProperties": false, "isComponent": true, "isResource": false, - "properties": { - "cascades": { - "type": { - "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, bevy_ecs::entity::hash::EntityHash>" - } - } - }, - "required": [ - "cascades" - ], - "short_name": "Cascades", - "title": "bevy_pbr::light::Cascades", + "properties": {}, + "required": [], + "short_name": "CubemapVisibleEntities", + "title": "bevy_pbr::bundle::CubemapVisibleEntities", "type": "object", "typeInfo": "Struct" }, - "bevy_pbr::light::ClusterConfig": { + "bevy_pbr::cluster::ClusterConfig": { "isComponent": true, "isResource": false, "oneOf": [ @@ -6522,7 +7460,7 @@ "z_config": { "title": "z_config", "type": { - "$ref": "#/$defs/bevy_pbr::light::ClusterZConfig" + "$ref": "#/$defs/bevy_pbr::cluster::ClusterZConfig" } } }, @@ -6554,7 +7492,7 @@ "z_config": { "title": "z_config", "type": { - "$ref": "#/$defs/bevy_pbr::light::ClusterZConfig" + "$ref": "#/$defs/bevy_pbr::cluster::ClusterZConfig" } }, "z_slices": { @@ -6576,103 +7514,280 @@ "typeInfo": "Struct" } ], - "short_name": "ClusterConfig", - "title": "bevy_pbr::light::ClusterConfig", + "short_name": "ClusterConfig", + "title": "bevy_pbr::cluster::ClusterConfig", + "type": "object", + "typeInfo": "Enum" + }, + "bevy_pbr::cluster::ClusterFarZMode": { + "isComponent": false, + "isResource": false, + "oneOf": [ + { + "title": "MaxClusterableObjectRange" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/f32" + } + } + ], + "short_name": "Constant", + "title": "Constant", + "type": "array", + "typeInfo": "Tuple" + } + ], + "short_name": "ClusterFarZMode", + "title": "bevy_pbr::cluster::ClusterFarZMode", + "type": "object", + "typeInfo": "Enum" + }, + "bevy_pbr::cluster::ClusterZConfig": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "far_z_mode": { + "type": { + "$ref": "#/$defs/bevy_pbr::cluster::ClusterFarZMode" + } + }, + "first_slice_depth": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "first_slice_depth", + "far_z_mode" + ], + "short_name": "ClusterZConfig", + "title": "bevy_pbr::cluster::ClusterZConfig", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_pbr::fog::FogFalloff": { + "isComponent": false, + "isResource": false, + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "end": { + "title": "end", + "type": { + "$ref": "#/$defs/f32" + } + }, + "start": { + "title": "start", + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "start", + "end" + ], + "short_name": "Linear", + "title": "Linear", + "type": "object", + "typeInfo": "Struct" + }, + { + "additionalProperties": false, + "properties": { + "density": { + "title": "density", + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "density" + ], + "short_name": "Exponential", + "title": "Exponential", + "type": "object", + "typeInfo": "Struct" + }, + { + "additionalProperties": false, + "properties": { + "density": { + "title": "density", + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "density" + ], + "short_name": "ExponentialSquared", + "title": "ExponentialSquared", + "type": "object", + "typeInfo": "Struct" + }, + { + "additionalProperties": false, + "properties": { + "extinction": { + "title": "extinction", + "type": { + "$ref": "#/$defs/glam::Vec3" + } + }, + "inscattering": { + "title": "inscattering", + "type": { + "$ref": "#/$defs/glam::Vec3" + } + } + }, + "required": [ + "extinction", + "inscattering" + ], + "short_name": "Atmospheric", + "title": "Atmospheric", + "type": "object", + "typeInfo": "Struct" + } + ], + "short_name": "FogFalloff", + "title": "bevy_pbr::fog::FogFalloff", "type": "object", "typeInfo": "Enum" }, - "bevy_pbr::light::ClusterFarZMode": { - "isComponent": false, + "bevy_pbr::fog::FogSettings": { + "additionalProperties": false, + "isComponent": true, "isResource": false, - "oneOf": [ - { - "title": "MaxLightRange" + "properties": { + "color": { + "type": { + "$ref": "#/$defs/bevy_color::color::Color" + } }, - { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/f32" - } - } - ], - "short_name": "Constant", - "title": "Constant", - "type": "array", - "typeInfo": "Tuple" + "directional_light_color": { + "type": { + "$ref": "#/$defs/bevy_color::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": "ClusterFarZMode", - "title": "bevy_pbr::light::ClusterFarZMode", + "short_name": "FogSettings", + "title": "bevy_pbr::fog::FogSettings", "type": "object", - "typeInfo": "Enum" + "typeInfo": "Struct" }, - "bevy_pbr::light::ClusterZConfig": { + "bevy_pbr::light::Cascade": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "far_z_mode": { + "clip_from_cascade": { "type": { - "$ref": "#/$defs/bevy_pbr::light::ClusterFarZMode" + "$ref": "#/$defs/glam::Mat4" } }, - "first_slice_depth": { + "clip_from_world": { + "type": { + "$ref": "#/$defs/glam::Mat4" + } + }, + "texel_size": { "type": { "$ref": "#/$defs/f32" } + }, + "world_from_cascade": { + "type": { + "$ref": "#/$defs/glam::Mat4" + } } }, "required": [ - "first_slice_depth", - "far_z_mode" + "world_from_cascade", + "clip_from_cascade", + "clip_from_world", + "texel_size" ], - "short_name": "ClusterZConfig", - "title": "bevy_pbr::light::ClusterZConfig", + "short_name": "Cascade", + "title": "bevy_pbr::light::Cascade", "type": "object", "typeInfo": "Struct" }, - "bevy_pbr::light::DirectionalLight": { + "bevy_pbr::light::CascadeShadowConfig": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": { - "color": { - "type": { - "$ref": "#/$defs/bevy_render::color::Color" - } - }, - "illuminance": { + "bounds": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/alloc::vec::Vec" } }, - "shadow_depth_bias": { + "minimum_distance": { "type": { "$ref": "#/$defs/f32" } }, - "shadow_normal_bias": { + "overlap_proportion": { "type": { "$ref": "#/$defs/f32" } - }, - "shadows_enabled": { + } + }, + "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/bool" + "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, bevy_ecs::entity::hash::EntityHash>" } } }, "required": [ - "color", - "illuminance", - "shadows_enabled", - "shadow_depth_bias", - "shadow_normal_bias" + "cascades" ], - "short_name": "DirectionalLight", - "title": "bevy_pbr::light::DirectionalLight", + "short_name": "Cascades", + "title": "bevy_pbr::light::Cascades", "type": "object", "typeInfo": "Struct" }, @@ -6717,14 +7832,114 @@ "type": "object", "typeInfo": "Struct" }, - "bevy_pbr::light::PointLight": { + "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", + "Gaussian", + "Temporal" + ], + "short_name": "ShadowFilteringMethod", + "title": "bevy_pbr::light::ShadowFilteringMethod", + "type": "string", + "typeInfo": "Enum" + }, + "bevy_pbr::light::ambient_light::AmbientLight": { + "additionalProperties": false, + "isComponent": false, + "isResource": true, + "properties": { + "brightness": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "color": { + "type": { + "$ref": "#/$defs/bevy_color::color::Color" + } + } + }, + "required": [ + "color", + "brightness" + ], + "short_name": "AmbientLight", + "title": "bevy_pbr::light::ambient_light::AmbientLight", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_pbr::light::directional_light::DirectionalLight": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "color": { + "type": { + "$ref": "#/$defs/bevy_color::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::directional_light::DirectionalLight", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_pbr::light::point_light::PointLight": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": { "color": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } }, "intensity": { @@ -6768,50 +7983,18 @@ "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", + "title": "bevy_pbr::light::point_light::PointLight", "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": { + "bevy_pbr::light::spot_light::SpotLight": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": { "color": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } }, "inner_angle": { @@ -6867,7 +8050,7 @@ "inner_angle" ], "short_name": "SpotLight", - "title": "bevy_pbr::light::SpotLight", + "title": "bevy_pbr::light::spot_light::SpotLight", "type": "object", "typeInfo": "Struct" }, @@ -7005,12 +8188,22 @@ "properties": { "alpha_mode": { "type": { - "$ref": "#/$defs/bevy_pbr::alpha::AlphaMode" + "$ref": "#/$defs/bevy_render::alpha::AlphaMode" + } + }, + "anisotropy_rotation": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "anisotropy_strength": { + "type": { + "$ref": "#/$defs/f32" } }, "attenuation_color": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } }, "attenuation_distance": { @@ -7018,14 +8211,29 @@ "$ref": "#/$defs/f32" } }, - "base_color": { + "base_color": { + "type": { + "$ref": "#/$defs/bevy_color::color::Color" + } + }, + "base_color_channel": { + "type": { + "$ref": "#/$defs/bevy_pbr::pbr_material::UvChannel" + } + }, + "base_color_texture": { + "type": { + "$ref": "#/$defs/core::option::Option>" + } + }, + "clearcoat": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/f32" } }, - "base_color_texture": { + "clearcoat_perceptual_roughness": { "type": { - "$ref": "#/$defs/core::option::Option>" + "$ref": "#/$defs/f32" } }, "deferred_lighting_pass_id": { @@ -7055,7 +8263,17 @@ }, "emissive": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::linear_rgba::LinearRgba" + } + }, + "emissive_channel": { + "type": { + "$ref": "#/$defs/bevy_pbr::pbr_material::UvChannel" + } + }, + "emissive_exposure_weight": { + "type": { + "$ref": "#/$defs/f32" } }, "emissive_texture": { @@ -7093,16 +8311,31 @@ "$ref": "#/$defs/f32" } }, + "metallic_roughness_channel": { + "type": { + "$ref": "#/$defs/bevy_pbr::pbr_material::UvChannel" + } + }, "metallic_roughness_texture": { "type": { "$ref": "#/$defs/core::option::Option>" } }, + "normal_map_channel": { + "type": { + "$ref": "#/$defs/bevy_pbr::pbr_material::UvChannel" + } + }, "normal_map_texture": { "type": { "$ref": "#/$defs/core::option::Option>" } }, + "occlusion_channel": { + "type": { + "$ref": "#/$defs/bevy_pbr::pbr_material::UvChannel" + } + }, "occlusion_texture": { "type": { "$ref": "#/$defs/core::option::Option>" @@ -7147,13 +8380,22 @@ "type": { "$ref": "#/$defs/bool" } + }, + "uv_transform": { + "type": { + "$ref": "#/$defs/glam::Affine2" + } } }, "required": [ "base_color", + "base_color_channel", "emissive", + "emissive_exposure_weight", + "emissive_channel", "perceptual_roughness", "metallic", + "metallic_roughness_channel", "reflectance", "diffuse_transmission", "specular_transmission", @@ -7161,7 +8403,13 @@ "ior", "attenuation_distance", "attenuation_color", + "normal_map_channel", "flip_normal_map_y", + "occlusion_channel", + "clearcoat", + "clearcoat_perceptual_roughness", + "anisotropy_strength", + "anisotropy_rotation", "double_sided", "unlit", "fog_enabled", @@ -7172,13 +8420,73 @@ "max_parallax_layer_count", "lightmap_exposure", "opaque_render_method", - "deferred_lighting_pass_id" + "deferred_lighting_pass_id", + "uv_transform" ], "short_name": "StandardMaterial", "title": "bevy_pbr::pbr_material::StandardMaterial", "type": "object", "typeInfo": "Struct" }, + "bevy_pbr::pbr_material::UvChannel": { + "isComponent": false, + "isResource": false, + "oneOf": [ + "Uv0", + "Uv1" + ], + "short_name": "UvChannel", + "title": "bevy_pbr::pbr_material::UvChannel", + "type": "string", + "typeInfo": "Enum" + }, + "bevy_pbr::ssao::ScreenSpaceAmbientOcclusionQualityLevel": { + "isComponent": false, + "isResource": false, + "oneOf": [ + { + "title": "Low" + }, + { + "title": "Medium" + }, + { + "title": "High" + }, + { + "title": "Ultra" + }, + { + "additionalProperties": false, + "properties": { + "samples_per_slice_side": { + "title": "samples_per_slice_side", + "type": { + "$ref": "#/$defs/u32" + } + }, + "slice_count": { + "title": "slice_count", + "type": { + "$ref": "#/$defs/u32" + } + } + }, + "required": [ + "slice_count", + "samples_per_slice_side" + ], + "short_name": "Custom", + "title": "Custom", + "type": "object", + "typeInfo": "Struct" + } + ], + "short_name": "ScreenSpaceAmbientOcclusionQualityLevel", + "title": "bevy_pbr::ssao::ScreenSpaceAmbientOcclusionQualityLevel", + "type": "object", + "typeInfo": "Enum" + }, "bevy_pbr::ssao::ScreenSpaceAmbientOcclusionSettings": { "additionalProperties": false, "isComponent": true, @@ -7198,72 +8506,159 @@ "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::WireframeColor": { + "bevy_pbr::ssr::ScreenSpaceReflectionsSettings": { "additionalProperties": false, "isComponent": true, "isResource": false, "properties": { - "color": { + "bisection_steps": { + "type": { + "$ref": "#/$defs/u32" + } + }, + "linear_march_exponent": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "linear_steps": { + "type": { + "$ref": "#/$defs/u32" + } + }, + "perceptual_roughness_threshold": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "thickness": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "use_secant": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bool" } } }, "required": [ - "color" + "perceptual_roughness_threshold", + "thickness", + "linear_steps", + "linear_march_exponent", + "bisection_steps", + "use_secant" ], - "short_name": "WireframeColor", - "title": "bevy_pbr::wireframe::WireframeColor", + "short_name": "ScreenSpaceReflectionsSettings", + "title": "bevy_pbr::ssr::ScreenSpaceReflectionsSettings", "type": "object", "typeInfo": "Struct" }, - "bevy_pbr::wireframe::WireframeConfig": { + "bevy_pbr::volumetric_fog::VolumetricFogSettings": { "additionalProperties": false, - "isComponent": false, - "isResource": true, + "isComponent": true, + "isResource": false, "properties": { - "default_color": { + "absorption": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "ambient_color": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } }, - "global": { + "ambient_intensity": { "type": { - "$ref": "#/$defs/bool" + "$ref": "#/$defs/f32" + } + }, + "density": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "fog_color": { + "type": { + "$ref": "#/$defs/bevy_color::color::Color" + } + }, + "light_intensity": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "light_tint": { + "type": { + "$ref": "#/$defs/bevy_color::color::Color" + } + }, + "max_depth": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "scattering": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "scattering_asymmetry": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "step_count": { + "type": { + "$ref": "#/$defs/u32" } } }, "required": [ - "global", - "default_color" + "fog_color", + "ambient_color", + "ambient_intensity", + "step_count", + "max_depth", + "absorption", + "scattering", + "density", + "scattering_asymmetry", + "light_tint", + "light_intensity" ], - "short_name": "WireframeConfig", - "title": "bevy_pbr::wireframe::WireframeConfig", + "short_name": "VolumetricFogSettings", + "title": "bevy_pbr::volumetric_fog::VolumetricFogSettings", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_pbr::volumetric_fog::VolumetricLight": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": {}, + "required": [], + "short_name": "VolumetricLight", + "title": "bevy_pbr::volumetric_fog::VolumetricLight", "type": "object", "typeInfo": "Struct" }, + "bevy_rapier3d::dynamics::CoefficientCombineRule": { + "isComponent": false, + "isResource": false, + "oneOf": [ + "Average", + "Min", + "Multiply", + "Max" + ], + "short_name": "CoefficientCombineRule", + "title": "bevy_rapier3d::dynamics::CoefficientCombineRule", + "type": "string", + "typeInfo": "Enum" + }, "bevy_rapier3d::dynamics::rigid_body::AdditionalMassProperties": { "isComponent": true, "isResource": false, @@ -7508,7 +8903,7 @@ "$ref": "#/$defs/f32" } }, - "linear_threshold": { + "normalized_linear_threshold": { "type": { "$ref": "#/$defs/f32" } @@ -7520,7 +8915,7 @@ } }, "required": [ - "linear_threshold", + "normalized_linear_threshold", "angular_threshold", "sleeping" ], @@ -7529,6 +8924,25 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_rapier3d::dynamics::rigid_body::SoftCcd": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "prediction": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "prediction" + ], + "short_name": "SoftCcd", + "title": "bevy_rapier3d::dynamics::rigid_body::SoftCcd", + "type": "object", + "typeInfo": "Struct" + }, "bevy_rapier3d::dynamics::rigid_body::Velocity": { "additionalProperties": false, "isComponent": true, @@ -7561,7 +8975,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_utils::HashSet" + "$ref": "#/$defs/bevy_utils::hashbrown::HashSet" } } ], @@ -7611,6 +9025,22 @@ "type": "array", "typeInfo": "TupleStruct" }, + "bevy_rapier3d::geometry::collider::ContactSkin": { + "isComponent": true, + "isResource": false, + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/f32" + } + } + ], + "short_name": "ContactSkin", + "title": "bevy_rapier3d::geometry::collider::ContactSkin", + "type": "array", + "typeInfo": "TupleStruct" + }, "bevy_rapier3d::geometry::collider::Friction": { "additionalProperties": false, "isComponent": true, @@ -7732,6 +9162,48 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_render::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": "AlphaToCoverage" + }, + { + "title": "Add" + }, + { + "title": "Multiply" + } + ], + "short_name": "AlphaMode", + "title": "bevy_render::alpha::AlphaMode", + "type": "object", + "typeInfo": "Enum" + }, "bevy_render::camera::camera::Camera": { "additionalProperties": false, "isComponent": true, @@ -7804,57 +9276,40 @@ "type": "object", "typeInfo": "Value" }, - "bevy_render::camera::camera::RenderTarget": { - "isComponent": false, + "bevy_render::camera::camera::MipBias": { + "isComponent": true, "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": [ { - "items": false, - "prefixItems": [ - { - "type": { - "$ref": "#/$defs/bevy_render::camera::manual_texture_view::ManualTextureViewHandle" - } - } - ], - "short_name": "TextureView", - "title": "TextureView", - "type": "array", - "typeInfo": "Tuple" + "type": { + "$ref": "#/$defs/f32" + } + } + ], + "short_name": "MipBias", + "title": "bevy_render::camera::camera::MipBias", + "type": "array", + "typeInfo": "TupleStruct" + }, + "bevy_render::camera::camera::TemporalJitter": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": { + "offset": { + "type": { + "$ref": "#/$defs/glam::Vec2" + } } + }, + "required": [ + "offset" ], - "short_name": "RenderTarget", - "title": "bevy_render::camera::camera::RenderTarget", + "short_name": "TemporalJitter", + "title": "bevy_render::camera::camera::TemporalJitter", "type": "object", - "typeInfo": "Enum" + "typeInfo": "Struct" }, "bevy_render::camera::camera::Viewport": { "additionalProperties": false, @@ -7894,7 +9349,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } } ], @@ -7915,7 +9370,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } } ], @@ -7940,7 +9395,7 @@ "properties": { "area": { "type": { - "$ref": "#/$defs/bevy_math::Rect" + "$ref": "#/$defs/bevy_math::rects::rect::Rect" } }, "far": { @@ -8184,172 +9639,6 @@ "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, @@ -8538,61 +9827,160 @@ } }, "required": [ - "center", - "half_extents" + "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::render_asset::RenderAssetUsages": { + "isComponent": false, + "isResource": false, + "short_name": "RenderAssetUsages", + "title": "bevy_render::render_asset::RenderAssetUsages", + "type": "object", + "typeInfo": "Value" + }, + "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": { + "global": { + "type": { + "$ref": "#/$defs/bevy_render::view::ColorGradingGlobal" + } + }, + "highlights": { + "type": { + "$ref": "#/$defs/bevy_render::view::ColorGradingSection" + } + }, + "midtones": { + "type": { + "$ref": "#/$defs/bevy_render::view::ColorGradingSection" + } + }, + "shadows": { + "type": { + "$ref": "#/$defs/bevy_render::view::ColorGradingSection" + } + } + }, + "required": [ + "global", + "shadows", + "midtones", + "highlights" + ], + "short_name": "ColorGrading", + "title": "bevy_render::view::ColorGrading", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_render::view::ColorGradingGlobal": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "exposure": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "hue": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "midtones_range": { + "type": { + "$ref": "#/$defs/core::ops::Range" + } + }, + "post_saturation": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "temperature": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "tint": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "exposure", + "temperature", + "tint", + "hue", + "post_saturation", + "midtones_range" ], - "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", + "short_name": "ColorGradingGlobal", + "title": "bevy_render::view::ColorGradingGlobal", "type": "object", "typeInfo": "Struct" }, - "bevy_render::primitives::Frustum": { + "bevy_render::view::ColorGradingSection": { "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": { + "contrast": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "gain": { "type": { "$ref": "#/$defs/f32" } @@ -8602,25 +9990,26 @@ "$ref": "#/$defs/f32" } }, - "post_saturation": { + "lift": { "type": { "$ref": "#/$defs/f32" } }, - "pre_saturation": { + "saturation": { "type": { "$ref": "#/$defs/f32" } } }, "required": [ - "exposure", + "saturation", + "contrast", "gamma", - "pre_saturation", - "post_saturation" + "gain", + "lift" ], - "short_name": "ColorGrading", - "title": "bevy_render::view::ColorGrading", + "short_name": "ColorGradingSection", + "title": "bevy_render::view::ColorGradingSection", "type": "object", "typeInfo": "Struct" }, @@ -8705,6 +10094,31 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_render::view::visibility::range::VisibilityRange": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "end_margin": { + "type": { + "$ref": "#/$defs/core::ops::Range" + } + }, + "start_margin": { + "type": { + "$ref": "#/$defs/core::ops::Range" + } + } + }, + "required": [ + "start_margin", + "end_margin" + ], + "short_name": "VisibilityRange", + "title": "bevy_render::view::visibility::range::VisibilityRange", + "type": "object", + "typeInfo": "Struct" + }, "bevy_render::view::visibility::render_layers::RenderLayers": { "isComponent": true, "isResource": false, @@ -8712,7 +10126,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/u32" + "$ref": "#/$defs/smallvec::SmallVec<[u64; 1]>" } } ], @@ -8721,6 +10135,17 @@ "type": "array", "typeInfo": "TupleStruct" }, + "bevy_sprite::SpriteSource": { + "additionalProperties": false, + "isComponent": true, + "isResource": false, + "properties": {}, + "required": [], + "short_name": "SpriteSource", + "title": "bevy_sprite::SpriteSource", + "type": "object", + "typeInfo": "Struct" + }, "bevy_sprite::mesh2d::color_material::ColorMaterial": { "additionalProperties": false, "isComponent": false, @@ -8728,7 +10153,7 @@ "properties": { "color": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } }, "texture": { @@ -8880,7 +10305,7 @@ }, "color": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } }, "custom_size": { @@ -8900,7 +10325,7 @@ }, "rect": { "type": { - "$ref": "#/$defs/core::option::Option" + "$ref": "#/$defs/core::option::Option" } } }, @@ -8947,7 +10372,7 @@ "properties": { "size": { "type": { - "$ref": "#/$defs/glam::Vec2" + "$ref": "#/$defs/glam::UVec2" } }, "texture_handles": { @@ -8957,7 +10382,7 @@ }, "textures": { "type": { - "$ref": "#/$defs/alloc::vec::Vec" + "$ref": "#/$defs/alloc::vec::Vec" } } }, @@ -8970,6 +10395,74 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_sprite::texture_slice::border_rect::BorderRect": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "bottom": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "left": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "right": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "top": { + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "left", + "right", + "top", + "bottom" + ], + "short_name": "BorderRect", + "title": "bevy_sprite::texture_slice::border_rect::BorderRect", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_sprite::texture_slice::slicer::SliceScaleMode": { + "isComponent": false, + "isResource": false, + "oneOf": [ + { + "title": "Stretch" + }, + { + "additionalProperties": false, + "properties": { + "stretch_value": { + "title": "stretch_value", + "type": { + "$ref": "#/$defs/f32" + } + } + }, + "required": [ + "stretch_value" + ], + "short_name": "Tile", + "title": "Tile", + "type": "object", + "typeInfo": "Struct" + } + ], + "short_name": "SliceScaleMode", + "title": "bevy_sprite::texture_slice::slicer::SliceScaleMode", + "type": "object", + "typeInfo": "Enum" + }, "bevy_sprite::texture_slice::slicer::TextureSlicer": { "additionalProperties": false, "isComponent": false, @@ -9007,6 +10500,80 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_text::font_atlas_set::GlyphAtlasInfo": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "glyph_index": { + "type": { + "$ref": "#/$defs/usize" + } + }, + "texture": { + "type": { + "$ref": "#/$defs/bevy_asset::handle::Handle" + } + }, + "texture_atlas": { + "type": { + "$ref": "#/$defs/bevy_asset::handle::Handle" + } + } + }, + "required": [ + "texture_atlas", + "texture", + "glyph_index" + ], + "short_name": "GlyphAtlasInfo", + "title": "bevy_text::font_atlas_set::GlyphAtlasInfo", + "type": "object", + "typeInfo": "Struct" + }, + "bevy_text::glyph_brush::PositionedGlyph": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "atlas_info": { + "type": { + "$ref": "#/$defs/bevy_text::font_atlas_set::GlyphAtlasInfo" + } + }, + "byte_index": { + "type": { + "$ref": "#/$defs/usize" + } + }, + "position": { + "type": { + "$ref": "#/$defs/glam::Vec2" + } + }, + "section_index": { + "type": { + "$ref": "#/$defs/usize" + } + }, + "size": { + "type": { + "$ref": "#/$defs/glam::Vec2" + } + } + }, + "required": [ + "position", + "size", + "atlas_info", + "section_index", + "byte_index" + ], + "short_name": "PositionedGlyph", + "title": "bevy_text::glyph_brush::PositionedGlyph", + "type": "object", + "typeInfo": "Struct" + }, "bevy_text::pipeline::TextLayoutInfo": { "additionalProperties": false, "isComponent": true, @@ -9103,64 +10670,118 @@ "justify", "linebreak_behavior" ], - "short_name": "Text", - "title": "bevy_text::text::Text", + "short_name": "Text", + "title": "bevy_text::text::Text", + "type": "object", + "typeInfo": "Struct" + }, + "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_color::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_text::text::TextSection": { + "bevy_time::fixed::Fixed": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "style": { + "overstep": { "type": { - "$ref": "#/$defs/bevy_text::text::TextStyle" + "$ref": "#/$defs/bevy_utils::Duration" } }, - "value": { + "timestep": { "type": { - "$ref": "#/$defs/alloc::string::String" + "$ref": "#/$defs/bevy_utils::Duration" } } }, "required": [ - "value", - "style" + "timestep", + "overstep" ], - "short_name": "TextSection", - "title": "bevy_text::text::TextSection", + "short_name": "Fixed", + "title": "bevy_time::fixed::Fixed", "type": "object", "typeInfo": "Struct" }, - "bevy_text::text::TextStyle": { + "bevy_time::real::Real": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "color": { + "first_update": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/core::option::Option" } }, - "font": { + "last_update": { "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" + "$ref": "#/$defs/core::option::Option" } }, - "font_size": { + "startup": { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/bevy_utils::Instant" } } }, "required": [ - "font", - "font_size", - "color" + "startup" ], - "short_name": "TextStyle", - "title": "bevy_text::text::TextStyle", + "short_name": "Real", + "title": "bevy_time::real::Real", "type": "object", "typeInfo": "Struct" }, @@ -9548,6 +11169,18 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_time::timer::TimerMode": { + "isComponent": false, + "isResource": false, + "oneOf": [ + "Once", + "Repeating" + ], + "short_name": "TimerMode", + "title": "bevy_time::timer::TimerMode", + "type": "string", + "typeInfo": "Enum" + }, "bevy_time::virt::Virtual": { "additionalProperties": false, "isComponent": false, @@ -9685,7 +11318,7 @@ }, "normalized_visible_node_rect": { "type": { - "$ref": "#/$defs/bevy_math::Rect" + "$ref": "#/$defs/bevy_math::rects::rect::Rect" } } }, @@ -9905,7 +11538,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } } ], @@ -9921,7 +11554,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } } ], @@ -9930,6 +11563,43 @@ "type": "array", "typeInfo": "TupleStruct" }, + "bevy_ui::ui_node::BorderRadius": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "bottom_left": { + "type": { + "$ref": "#/$defs/bevy_ui::geometry::Val" + } + }, + "bottom_right": { + "type": { + "$ref": "#/$defs/bevy_ui::geometry::Val" + } + }, + "top_left": { + "type": { + "$ref": "#/$defs/bevy_ui::geometry::Val" + } + }, + "top_right": { + "type": { + "$ref": "#/$defs/bevy_ui::geometry::Val" + } + } + }, + "required": [ + "top_left", + "top_right", + "bottom_left", + "bottom_right" + ], + "short_name": "BorderRadius", + "title": "bevy_ui::ui_node::BorderRadius", + "type": "object", + "typeInfo": "Struct" + }, "bevy_ui::ui_node::CalculatedClip": { "additionalProperties": false, "isComponent": true, @@ -9937,7 +11607,7 @@ "properties": { "clip": { "type": { - "$ref": "#/$defs/bevy_math::Rect" + "$ref": "#/$defs/bevy_math::rects::rect::Rect" } } }, @@ -9968,6 +11638,7 @@ "oneOf": [ "Flex", "Grid", + "Block", "None" ], "short_name": "Display", @@ -10068,6 +11739,36 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_ui::ui_node::GridTrackRepetition": { + "isComponent": false, + "isResource": false, + "oneOf": [ + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/u16" + } + } + ], + "short_name": "Count", + "title": "Count", + "type": "array", + "typeInfo": "Tuple" + }, + { + "title": "AutoFill" + }, + { + "title": "AutoFit" + } + ], + "short_name": "GridTrackRepetition", + "title": "bevy_ui::ui_node::GridTrackRepetition", + "type": "object", + "typeInfo": "Enum" + }, "bevy_ui::ui_node::JustifyContent": { "isComponent": false, "isResource": false, @@ -10120,6 +11821,22 @@ "type": "string", "typeInfo": "Enum" }, + "bevy_ui::ui_node::MaxTrackSizingFunction": { + "isComponent": false, + "isResource": false, + "short_name": "MaxTrackSizingFunction", + "title": "bevy_ui::ui_node::MaxTrackSizingFunction", + "type": "object", + "typeInfo": "Value" + }, + "bevy_ui::ui_node::MinTrackSizingFunction": { + "isComponent": false, + "isResource": false, + "short_name": "MinTrackSizingFunction", + "title": "bevy_ui::ui_node::MinTrackSizingFunction", + "type": "object", + "typeInfo": "Value" + }, "bevy_ui::ui_node::Node": { "additionalProperties": false, "isComponent": true, @@ -10170,7 +11887,7 @@ "properties": { "color": { "type": { - "$ref": "#/$defs/bevy_render::color::Color" + "$ref": "#/$defs/bevy_color::color::Color" } }, "offset": { @@ -10224,7 +11941,8 @@ "isResource": false, "oneOf": [ "Visible", - "Clip" + "Clip", + "Hidden" ], "short_name": "OverflowAxis", "title": "bevy_ui::ui_node::OverflowAxis", @@ -10255,7 +11973,7 @@ }, "tracks": { "type": { - "$ref": "#/$defs/bevy_utils::smallvec::SmallVec<[bevy_ui::ui_node::GridTrack; 1]>" + "$ref": "#/$defs/smallvec::SmallVec<[bevy_ui::ui_node::GridTrack; 1]>" } } }, @@ -10529,6 +12247,11 @@ "isComponent": true, "isResource": false, "properties": { + "color": { + "type": { + "$ref": "#/$defs/bevy_color::color::Color" + } + }, "flip_x": { "type": { "$ref": "#/$defs/bool" @@ -10546,6 +12269,7 @@ } }, "required": [ + "color", "texture", "flip_x", "flip_y" @@ -10611,7 +12335,7 @@ "properties": { "size": { "type": { - "$ref": "#/$defs/glam::Vec2" + "$ref": "#/$defs/glam::UVec2" } } }, @@ -10667,42 +12391,151 @@ "type": "object", "typeInfo": "Value" }, - "bevy_utils::HashSet": { + "bevy_utils::Instant": { "isComponent": false, "isResource": false, - "short_name": "HashSet", - "title": "bevy_utils::HashSet", + "short_name": "Instant", + "title": "bevy_utils::Instant", "type": "object", "typeInfo": "Value" }, - "bevy_utils::Instant": { + "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/alloc::vec::Vec" + } + }, "isComponent": false, "isResource": false, - "short_name": "Instant", - "title": "bevy_utils::Instant", + "short_name": "HashMap, DefaultHashBuilder>", + "title": "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", "type": "object", - "typeInfo": "Value" + "typeInfo": "Map" }, - "bevy_utils::Uuid": { + "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/bevy_asset::handle::Handle" + } + }, "isComponent": false, "isResource": false, - "short_name": "Uuid", - "title": "bevy_utils::Uuid", + "short_name": "HashMap, DefaultHashBuilder>", + "title": "bevy_utils::hashbrown::HashMap, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", "type": "object", - "typeInfo": "Value" + "typeInfo": "Map" }, - "bevy_utils::smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>": { + "bevy_utils::hashbrown::HashMap": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/petgraph::graph::NodeIndex" + } + }, "isComponent": false, "isResource": false, - "items": { + "short_name": "HashMap", + "title": "bevy_utils::hashbrown::HashMap", + "type": "object", + "typeInfo": "Map" + }, + "bevy_utils::hashbrown::HashMap, bevy_utils::NoOpHash>": { + "additionalProperties": { "type": { - "$ref": "#/$defs/bevy_ecs::entity::Entity" + "$ref": "#/$defs/alloc::vec::Vec" } }, - "short_name": "SmallVec<[Entity; 8]>", - "title": "bevy_utils::smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>", - "type": "array", - "typeInfo": "List" + "isComponent": false, + "isResource": false, + "short_name": "HashMap, NoOpHash>", + "title": "bevy_utils::hashbrown::HashMap, bevy_utils::NoOpHash>", + "type": "object", + "typeInfo": "Map" + }, + "bevy_utils::hashbrown::HashMap, usize, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/usize" + } + }, + "isComponent": false, + "isResource": false, + "short_name": "HashMap, usize, DefaultHashBuilder>", + "title": "bevy_utils::hashbrown::HashMap, usize, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>", + "type": "object", + "typeInfo": "Map" + }, + "bevy_utils::hashbrown::HashMap, bevy_ecs::entity::hash::EntityHash>": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/alloc::vec::Vec" + } + }, + "isComponent": false, + "isResource": false, + "short_name": "HashMap, EntityHash>", + "title": "bevy_utils::hashbrown::HashMap, bevy_ecs::entity::hash::EntityHash>", + "type": "object", + "typeInfo": "Map" + }, + "bevy_utils::hashbrown::HashMap": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::AxisSettings" + } + }, + "isComponent": false, + "isResource": false, + "short_name": "HashMap", + "title": "bevy_utils::hashbrown::HashMap", + "type": "object", + "typeInfo": "Map" + }, + "bevy_utils::hashbrown::HashMap": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::ButtonAxisSettings" + } + }, + "isComponent": false, + "isResource": false, + "short_name": "HashMap", + "title": "bevy_utils::hashbrown::HashMap", + "type": "object", + "typeInfo": "Map" + }, + "bevy_utils::hashbrown::HashMap": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/bevy_input::gamepad::ButtonSettings" + } + }, + "isComponent": false, + "isResource": false, + "short_name": "HashMap", + "title": "bevy_utils::hashbrown::HashMap", + "type": "object", + "typeInfo": "Map" + }, + "bevy_utils::hashbrown::HashMap": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/f32" + } + }, + "isComponent": false, + "isResource": false, + "short_name": "HashMap", + "title": "bevy_utils::hashbrown::HashMap", + "type": "object", + "typeInfo": "Map" + }, + "bevy_utils::hashbrown::HashSet": { + "isComponent": false, + "isResource": false, + "short_name": "HashSet", + "title": "bevy_utils::hashbrown::HashSet", + "type": "object", + "typeInfo": "Value" }, "bevy_window::cursor::CursorIcon": { "isComponent": false, @@ -10748,16 +12581,18 @@ "type": "string", "typeInfo": "Enum" }, - "bevy_window::event::ApplicationLifetime": { + "bevy_window::event::AppLifecycle": { "isComponent": false, "isResource": false, "oneOf": [ - "Started", + "Idle", + "Running", + "WillSuspend", "Suspended", - "Resumed" + "WillResume" ], - "short_name": "ApplicationLifetime", - "title": "bevy_window::event::ApplicationLifetime", + "short_name": "AppLifecycle", + "title": "bevy_window::event::AppLifecycle", "type": "string", "typeInfo": "Enum" }, @@ -11006,6 +12841,25 @@ "type": "object", "typeInfo": "Struct" }, + "bevy_window::event::WindowClosing": { + "additionalProperties": false, + "isComponent": false, + "isResource": false, + "properties": { + "window": { + "type": { + "$ref": "#/$defs/bevy_ecs::entity::Entity" + } + } + }, + "required": [ + "window" + ], + "short_name": "WindowClosing", + "title": "bevy_window::event::WindowClosing", + "type": "object", + "typeInfo": "Struct" + }, "bevy_window::event::WindowCreated": { "additionalProperties": false, "isComponent": false, @@ -11386,11 +13240,21 @@ "$ref": "#/$defs/bool" } }, + "desired_maximum_frame_latency": { + "type": { + "$ref": "#/$defs/core::option::Option" + } + }, "enabled_buttons": { "type": { "$ref": "#/$defs/bevy_window::window::EnabledButtons" } }, + "fit_canvas_to_parent": { + "type": { + "$ref": "#/$defs/bool" + } + }, "focused": { "type": { "$ref": "#/$defs/bool" @@ -11436,6 +13300,26 @@ "$ref": "#/$defs/bool" } }, + "recognize_doubletap_gesture": { + "type": { + "$ref": "#/$defs/bool" + } + }, + "recognize_pan_gesture": { + "type": { + "$ref": "#/$defs/core::option::Option<(u8, u8)>" + } + }, + "recognize_pinch_gesture": { + "type": { + "$ref": "#/$defs/bool" + } + }, + "recognize_rotation_gesture": { + "type": { + "$ref": "#/$defs/bool" + } + }, "resizable": { "type": { "$ref": "#/$defs/bool" @@ -11451,6 +13335,11 @@ "$ref": "#/$defs/bevy_window::window::WindowResolution" } }, + "skip_taskbar": { + "type": { + "$ref": "#/$defs/bool" + } + }, "title": { "type": { "$ref": "#/$defs/alloc::string::String" @@ -11492,11 +13381,16 @@ "transparent", "focused", "window_level", + "fit_canvas_to_parent", "prevent_default_event_handling", "internal", "ime_enabled", "ime_position", - "visible" + "visible", + "skip_taskbar", + "recognize_pinch_gesture", + "recognize_rotation_gesture", + "recognize_doubletap_gesture" ], "short_name": "Window", "title": "bevy_window::window::Window", @@ -11672,6 +13566,30 @@ "type": "string", "typeInfo": "Value" }, + "core::num::NonZeroI16": { + "isComponent": false, + "isResource": false, + "short_name": "NonZeroI16", + "title": "core::num::NonZeroI16", + "type": "object", + "typeInfo": "Value" + }, + "core::num::NonZeroU16": { + "isComponent": false, + "isResource": false, + "short_name": "NonZeroU16", + "title": "core::num::NonZeroU16", + "type": "object", + "typeInfo": "Value" + }, + "core::num::NonZeroU32": { + "isComponent": false, + "isResource": false, + "short_name": "NonZeroU32", + "title": "core::num::NonZeroU32", + "type": "object", + "typeInfo": "Value" + }, "core::ops::Range": { "isComponent": false, "isResource": false, @@ -11680,13 +13598,32 @@ "type": "object", "typeInfo": "Value" }, - "core::ops::Range": { + "core::option::Option<(u8, u8)>": { "isComponent": false, "isResource": false, - "short_name": "Range", - "title": "core::ops::Range", + "oneOf": [ + { + "title": "None" + }, + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/(u8, u8)" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" + } + ], + "short_name": "Option<(u8, u8)>", + "title": "core::option::Option<(u8, u8)>", "type": "object", - "typeInfo": "Value" + "typeInfo": "Enum" }, "core::option::Option": { "isComponent": false, @@ -11742,7 +13679,7 @@ "type": "object", "typeInfo": "Enum" }, - "core::option::Option>": { + "core::option::Option>": { "isComponent": false, "isResource": false, "oneOf": [ @@ -11754,7 +13691,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_asset::handle::Handle" + "$ref": "#/$defs/bevy_asset::handle::Handle" } } ], @@ -11764,12 +13701,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Option>", - "title": "core::option::Option>", + "short_name": "Option>", + "title": "core::option::Option>", "type": "object", "typeInfo": "Enum" }, - "core::option::Option": { + "core::option::Option>": { "isComponent": false, "isResource": false, "oneOf": [ @@ -11781,7 +13718,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_render::camera::camera::Viewport" + "$ref": "#/$defs/bevy_asset::handle::Handle" } } ], @@ -11791,12 +13728,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Option", - "title": "core::option::Option", + "short_name": "Option>", + "title": "core::option::Option>", "type": "object", "typeInfo": "Enum" }, - "core::option::Option": { + "core::option::Option": { "isComponent": false, "isResource": false, "oneOf": [ @@ -11808,7 +13745,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bevy_render::mesh::mesh::Indices" + "$ref": "#/$defs/bevy_audio::audio::SpatialScale" } } ], @@ -11818,12 +13755,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Option", - "title": "core::option::Option", + "short_name": "Option", + "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, - "core::option::Option": { + "core::option::Option": { "isComponent": false, "isResource": false, "oneOf": [ @@ -11835,7 +13772,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/bool" + "$ref": "#/$defs/bevy_color::color::Color" } } ], @@ -11845,12 +13782,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Option", - "title": "core::option::Option", + "short_name": "Option", + "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, - "core::option::Option": { + "core::option::Option": { "isComponent": false, "isResource": false, "oneOf": [ @@ -11862,7 +13799,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/f32" + "$ref": "#/$defs/bevy_input::touch::ForceTouch" } } ], @@ -11872,12 +13809,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Option", - "title": "core::option::Option", + "short_name": "Option", + "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, - "core::option::Option": { + "core::option::Option": { "isComponent": false, "isResource": false, "oneOf": [ @@ -11889,7 +13826,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/f64" + "$ref": "#/$defs/bevy_math::rects::rect::Rect" } } ], @@ -11899,12 +13836,12 @@ "typeInfo": "Tuple" } ], - "short_name": "Option", - "title": "core::option::Option", + "short_name": "Option", + "title": "core::option::Option", "type": "object", "typeInfo": "Enum" }, - "core::option::Option": { + "core::option::Option": { "isComponent": false, "isResource": false, "oneOf": [ @@ -11916,7 +13853,7 @@ "prefixItems": [ { "type": { - "$ref": "#/$defs/glam::DVec2" + "$ref": "#/$defs/bevy_render::camera::camera::Viewport" } } ], @@ -11926,525 +13863,485 @@ "typeInfo": "Tuple" } ], - "short_name": "Option", - "title": "core::option::Option", + "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, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "matrix2": { - "type": { - "$ref": "#/$defs/glam::Mat2" - } + "oneOf": [ + { + "title": "None" }, - "translation": { - "type": { - "$ref": "#/$defs/glam::Vec2" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_render::mesh::mesh::Indices" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "matrix2", - "translation" ], - "short_name": "Affine2", - "title": "glam::Affine2", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::Affine3A": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "matrix3": { - "type": { - "$ref": "#/$defs/glam::Mat3A" - } + "oneOf": [ + { + "title": "None" }, - "translation": { - "type": { - "$ref": "#/$defs/glam::Vec3A" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_utils::Instant" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "matrix3", - "translation" ], - "short_name": "Affine3A", - "title": "glam::Affine3A", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::BVec2": { - "additionalProperties": false, + "core::option::Option, usize, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>>": { "isComponent": false, "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/bool" - } + "oneOf": [ + { + "title": "None" }, - "y": { - "type": { - "$ref": "#/$defs/bool" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_utils::hashbrown::HashMap, usize, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "x", - "y" ], - "short_name": "BVec2", - "title": "glam::BVec2", + "short_name": "Option, usize, DefaultHashBuilder>>", + "title": "core::option::Option, usize, bevy_utils::hashbrown::hash_map::DefaultHashBuilder>>", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::BVec3": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "y": { - "type": { - "$ref": "#/$defs/bool" - } + "oneOf": [ + { + "title": "None" }, - "z": { - "type": { - "$ref": "#/$defs/bool" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/bevy_window::window::WindowTheme" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "x", - "y", - "z" ], - "short_name": "BVec3", - "title": "glam::BVec3", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::BVec3A": { + "core::option::Option": { "isComponent": false, "isResource": false, - "short_name": "BVec3A", - "title": "glam::BVec3A", + "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": "Value" + "typeInfo": "Enum" }, - "glam::BVec4": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "x": { - "type": { - "$ref": "#/$defs/bool" - } - }, - "y": { - "type": { - "$ref": "#/$defs/bool" - } + "oneOf": [ + { + "title": "None" }, - "z": { - "type": { - "$ref": "#/$defs/bool" - } - } - }, - "required": [ - "x", - "y", - "z", - "w" + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/char" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" + } ], - "short_name": "BVec4", - "title": "glam::BVec4", - "type": "object", - "typeInfo": "Struct" - }, - "glam::BVec4A": { - "isComponent": false, - "isResource": false, - "short_name": "BVec4A", - "title": "glam::BVec4A", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Value" + "typeInfo": "Enum" }, - "glam::DAffine2": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "matrix2": { - "type": { - "$ref": "#/$defs/glam::DMat2" - } + "oneOf": [ + { + "title": "None" }, - "translation": { - "type": { - "$ref": "#/$defs/glam::DVec2" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/core::num::NonZeroI16" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "matrix2", - "translation" ], - "short_name": "DAffine2", - "title": "glam::DAffine2", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::DAffine3": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "matrix3": { - "type": { - "$ref": "#/$defs/glam::DMat3" - } + "oneOf": [ + { + "title": "None" }, - "translation": { - "type": { - "$ref": "#/$defs/glam::DVec3" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/core::num::NonZeroU16" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "matrix3", - "translation" ], - "short_name": "DAffine3", - "title": "glam::DAffine3", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::DMat2": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "x_axis": { - "type": { - "$ref": "#/$defs/glam::DVec2" - } + "oneOf": [ + { + "title": "None" }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::DVec2" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/core::num::NonZeroU32" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "x_axis", - "y_axis" ], - "short_name": "DMat2", - "title": "glam::DMat2", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::DMat3": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "x_axis": { - "type": { - "$ref": "#/$defs/glam::DVec3" - } - }, - "y_axis": { - "type": { - "$ref": "#/$defs/glam::DVec3" - } + "oneOf": [ + { + "title": "None" }, - "z_axis": { - "type": { - "$ref": "#/$defs/glam::DVec3" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/f32" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "x_axis", - "y_axis", - "z_axis" ], - "short_name": "DMat3", - "title": "glam::DMat3", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::DMat4": { - "additionalProperties": false, + "core::option::Option": { "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" - } + "oneOf": [ + { + "title": "None" }, - "z_axis": { - "type": { - "$ref": "#/$defs/glam::DVec4" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/f64" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "x_axis", - "y_axis", - "z_axis", - "w_axis" ], - "short_name": "DMat4", - "title": "glam::DMat4", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::DQuat": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "w": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "x": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f64" - } + "oneOf": [ + { + "title": "None" }, - "z": { - "type": { - "$ref": "#/$defs/f64" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/glam::DVec2" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "x", - "y", - "z", - "w" ], - "short_name": "DQuat", - "title": "glam::DQuat", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::DVec2": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/f64" - } + "oneOf": [ + { + "title": "None" }, - "y": { - "type": { - "$ref": "#/$defs/f64" - } - } - }, - "required": [ - "x", - "y" + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/glam::Vec2" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" + } ], - "short_name": "DVec2", - "title": "glam::DVec2", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "typeInfo": "Enum" }, - "glam::DVec3": { - "additionalProperties": false, + "core::option::Option": { "isComponent": false, "isResource": false, - "properties": { - "x": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "y": { - "type": { - "$ref": "#/$defs/f64" - } + "oneOf": [ + { + "title": "None" }, - "z": { - "type": { - "$ref": "#/$defs/f64" - } + { + "items": false, + "prefixItems": [ + { + "type": { + "$ref": "#/$defs/petgraph::graph::NodeIndex" + } + } + ], + "short_name": "Some", + "title": "Some", + "type": "array", + "typeInfo": "Tuple" } - }, - "required": [ - "x", - "y", - "z" ], - "short_name": "DVec3", - "title": "glam::DVec3", + "short_name": "Option", + "title": "core::option::Option", "type": "object", - "typeInfo": "Struct" + "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::DVec4": { + "glam::Affine2": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "w": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "x": { - "type": { - "$ref": "#/$defs/f64" - } - }, - "y": { + "matrix2": { "type": { - "$ref": "#/$defs/f64" + "$ref": "#/$defs/glam::Mat2" } }, - "z": { + "translation": { "type": { - "$ref": "#/$defs/f64" + "$ref": "#/$defs/glam::Vec2" } } }, "required": [ - "x", - "y", - "z", - "w" + "matrix2", + "translation" ], - "short_name": "DVec4", - "title": "glam::DVec4", + "short_name": "Affine2", + "title": "glam::Affine2", "type": "object", "typeInfo": "Struct" }, - "glam::IVec2": { + "glam::Affine3A": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "x": { + "matrix3": { "type": { - "$ref": "#/$defs/i32" + "$ref": "#/$defs/glam::Mat3A" } }, - "y": { + "translation": { "type": { - "$ref": "#/$defs/i32" + "$ref": "#/$defs/glam::Vec3A" } } }, "required": [ - "x", - "y" + "matrix3", + "translation" ], - "short_name": "IVec2", - "title": "glam::IVec2", + "short_name": "Affine3A", + "title": "glam::Affine3A", "type": "object", "typeInfo": "Struct" }, - "glam::IVec3": { + "glam::DVec2": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { "x": { "type": { - "$ref": "#/$defs/i32" + "$ref": "#/$defs/f64" } }, "y": { "type": { - "$ref": "#/$defs/i32" - } - }, - "z": { - "type": { - "$ref": "#/$defs/i32" + "$ref": "#/$defs/f64" } } }, "required": [ "x", - "y", - "z" + "y" ], - "short_name": "IVec3", - "title": "glam::IVec3", + "short_name": "DVec2", + "title": "glam::DVec2", "type": "object", "typeInfo": "Struct" }, - "glam::IVec4": { + "glam::IVec2": { "additionalProperties": false, "isComponent": false, "isResource": false, "properties": { - "w": { - "type": { - "$ref": "#/$defs/i32" - } - }, "x": { "type": { "$ref": "#/$defs/i32" @@ -12454,21 +14351,14 @@ "type": { "$ref": "#/$defs/i32" } - }, - "z": { - "type": { - "$ref": "#/$defs/i32" - } } }, "required": [ "x", - "y", - "z", - "w" + "y" ], - "short_name": "IVec4", - "title": "glam::IVec4", + "short_name": "IVec2", + "title": "glam::IVec2", "type": "object", "typeInfo": "Struct" }, @@ -12497,37 +14387,6 @@ "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, @@ -12689,43 +14548,6 @@ "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, @@ -12898,14 +14720,82 @@ "type": "int", "typeInfo": "Value" }, - "std::ffi::OsString": { + "petgraph::graph::DiGraph": { + "isComponent": false, + "isResource": false, + "short_name": "DiGraph", + "title": "petgraph::graph::DiGraph", + "type": "object", + "typeInfo": "Value" + }, + "petgraph::graph::NodeIndex": { + "isComponent": false, + "isResource": false, + "short_name": "NodeIndex", + "title": "petgraph::graph::NodeIndex", + "type": "object", + "typeInfo": "Value" + }, + "smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/bevy_ecs::entity::Entity" + } + }, + "short_name": "SmallVec<[Entity; 8]>", + "title": "smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>", + "type": "array", + "typeInfo": "List" + }, + "smallvec::SmallVec<[bevy_ui::ui_node::GridTrack; 1]>": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/bevy_ui::ui_node::GridTrack" + } + }, + "short_name": "SmallVec<[GridTrack; 1]>", + "title": "smallvec::SmallVec<[bevy_ui::ui_node::GridTrack; 1]>", + "type": "array", + "typeInfo": "List" + }, + "smallvec::SmallVec<[u64; 1]>": { + "isComponent": false, + "isResource": false, + "items": { + "type": { + "$ref": "#/$defs/u64" + } + }, + "short_name": "SmallVec<[u64; 1]>", + "title": "smallvec::SmallVec<[u64; 1]>", + "type": "array", + "typeInfo": "List" + }, + "smol_str::SmolStr": { "isComponent": false, "isResource": false, - "short_name": "OsString", - "title": "std::ffi::OsString", + "short_name": "SmolStr", + "title": "smol_str::SmolStr", "type": "object", "typeInfo": "Value" }, + "std::collections::BTreeMap": { + "additionalProperties": { + "type": { + "$ref": "#/$defs/bevy_animation::ActiveAnimation" + } + }, + "isComponent": false, + "isResource": false, + "short_name": "BTreeMap", + "title": "std::collections::BTreeMap", + "type": "object", + "typeInfo": "Map" + }, "std::path::PathBuf": { "isComponent": false, "isResource": false, @@ -12914,6 +14804,14 @@ "type": "object", "typeInfo": "Value" }, + "std::sync::Arc": { + "isComponent": false, + "isResource": false, + "short_name": "Arc", + "title": "std::sync::Arc", + "type": "object", + "typeInfo": "Value" + }, "u128": { "isComponent": false, "isResource": false, @@ -12961,6 +14859,14 @@ "title": "usize", "type": "uint", "typeInfo": "Value" + }, + "uuid::Uuid": { + "isComponent": false, + "isResource": false, + "short_name": "Uuid", + "title": "uuid::Uuid", + "type": "object", + "typeInfo": "Value" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", diff --git a/examples/common/Cargo.toml b/examples/common/Cargo.toml index 29518694..f50c3a45 100644 --- a/examples/common/Cargo.toml +++ b/examples/common/Cargo.toml @@ -12,10 +12,10 @@ default = ["blueprints", "physics_rapier"] [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../crates/bevy_gltf_blueprints", optional = true } -bevy_rapier3d = { version = "0.25", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"], optional = true } -bevy_xpbd_3d = { version = "0.4", optional = true } -bevy_asset_loader = { version = "0.20", features = ["standard_dynamic_assets"] } -bevy_editor_pls = { version = "0.8" } +bevy_rapier3d = { version = "0.27", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"], optional = true } +bevy_xpbd_3d = { version = "0.5", optional = true } +bevy_asset_loader = { version = "0.21", features = ["standard_dynamic_assets"] } +#bevy_editor_pls = { version = "0.8" } rand = "0.8.5" diff --git a/examples/common/src/lib.rs b/examples/common/src/lib.rs index 289f9af0..5fc48bc1 100644 --- a/examples/common/src/lib.rs +++ b/examples/common/src/lib.rs @@ -11,7 +11,7 @@ pub mod game; pub use game::*; use bevy::prelude::*; -use bevy_editor_pls::prelude::*; +//use bevy_editor_pls::prelude::*; pub struct CommonPlugin; impl Plugin for CommonPlugin { @@ -21,7 +21,7 @@ impl Plugin for CommonPlugin { AssetsPlugin, CorePlugin, GamePlugin, - EditorPlugin::default(), + //EditorPlugin::default(), )); } } diff --git a/examples/common_rapier/Cargo.toml b/examples/common_rapier/Cargo.toml index 52891639..4db3cce8 100644 --- a/examples/common_rapier/Cargo.toml +++ b/examples/common_rapier/Cargo.toml @@ -10,10 +10,10 @@ default = ["blueprints"] [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_worlflow_examples_common = { path = "../common" } bevy_gltf_blueprints = { path = "../../crates/bevy_gltf_blueprints", optional = true } -bevy_rapier3d = { version = "0.25", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } -bevy_asset_loader = { version = "0.20", features = ["standard_dynamic_assets"] } -bevy_editor_pls = { version = "0.8" } +bevy_rapier3d = { version = "0.27", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } +bevy_asset_loader = { version = "0.21", features = ["standard_dynamic_assets"] } +#bevy_editor_pls = { version = "0.8" } rand = "0.8.5" diff --git a/examples/common_rapier/src/physics/utils.rs b/examples/common_rapier/src/physics/utils.rs index 7886710f..98b8cbfd 100644 --- a/examples/common_rapier/src/physics/utils.rs +++ b/examples/common_rapier/src/physics/utils.rs @@ -1,54 +1,8 @@ use bevy::prelude::*; -use bevy::render::mesh::{MeshVertexAttributeId, PrimitiveTopology, VertexAttributeValues}; +use bevy::render::mesh::PrimitiveTopology; // TAKEN VERBATIB FROM https://github.com/janhohenheim/foxtrot/blob/src/util/trait_extension.rs -pub(crate) trait Vec3Ext: Copy { - fn is_approx_zero(self) -> bool; - fn split(self, up: Vec3) -> SplitVec3; -} -impl Vec3Ext for Vec3 { - #[inline] - fn is_approx_zero(self) -> bool { - self.length_squared() < 1e-5 - } - - #[inline] - fn split(self, up: Vec3) -> SplitVec3 { - let vertical = up * self.dot(up); - let horizontal = self - vertical; - SplitVec3 { - vertical, - horizontal, - } - } -} - -#[derive(Debug, Clone, Copy, PartialEq)] -pub(crate) struct SplitVec3 { - pub(crate) vertical: Vec3, - pub(crate) horizontal: Vec3, -} - -pub(crate) trait Vec2Ext: Copy { - fn is_approx_zero(self) -> bool; - fn x0y(self) -> Vec3; -} -impl Vec2Ext for Vec2 { - #[inline] - fn is_approx_zero(self) -> bool { - self.length_squared() < 1e-5 - } - - #[inline] - fn x0y(self) -> Vec3 { - Vec3::new(self.x, 0., self.y) - } -} - pub(crate) trait MeshExt { - fn transform(&mut self, transform: Transform); - fn transformed(&self, transform: Transform) -> Mesh; - fn read_coords_mut(&mut self, id: impl Into) -> &mut Vec<[f32; 3]>; fn search_in_children<'a>( parent: Entity, children: &'a Query<&Children>, @@ -58,37 +12,6 @@ pub(crate) trait MeshExt { } impl MeshExt for Mesh { - fn transform(&mut self, transform: Transform) { - for coords in self.read_coords_mut(Mesh::ATTRIBUTE_POSITION.clone()) { - let vec3 = (*coords).into(); - let transformed = transform.transform_point(vec3); - *coords = transformed.into(); - } - for normal in self.read_coords_mut(Mesh::ATTRIBUTE_NORMAL.clone()) { - let vec3 = (*normal).into(); - let transformed = transform.rotation.mul_vec3(vec3); - *normal = transformed.into(); - } - } - - fn transformed(&self, transform: Transform) -> Mesh { - let mut mesh = self.clone(); - mesh.transform(transform); - mesh - } - - fn read_coords_mut(&mut self, id: impl Into) -> &mut Vec<[f32; 3]> { - // Guaranteed by Bevy for the current usage - match self - .attribute_mut(id) - .expect("Failed to read unknown mesh attribute") - { - VertexAttributeValues::Float32x3(values) => values, - // Guaranteed by Bevy for the current usage - _ => unreachable!(), - } - } - fn search_in_children<'a>( parent: Entity, children_query: &'a Query<&Children>, @@ -125,51 +48,3 @@ impl MeshExt for Mesh { } } } - -pub(crate) trait F32Ext: Copy { - fn is_approx_zero(self) -> bool; - fn squared(self) -> f32; - fn lerp(self, other: f32, ratio: f32) -> f32; -} - -impl F32Ext for f32 { - #[inline] - fn is_approx_zero(self) -> bool { - self.abs() < 1e-5 - } - - #[inline] - fn squared(self) -> f32 { - self * self - } - - #[inline] - fn lerp(self, other: f32, ratio: f32) -> f32 { - self.mul_add(1. - ratio, other * ratio) - } -} - -pub(crate) trait TransformExt: Copy { - fn horizontally_looking_at(self, target: Vec3, up: Vec3) -> Transform; - fn lerp(self, other: Transform, ratio: f32) -> Transform; -} - -impl TransformExt for Transform { - fn horizontally_looking_at(self, target: Vec3, up: Vec3) -> Transform { - let direction = target - self.translation; - let horizontal_direction = direction - up * direction.dot(up); - let look_target = self.translation + horizontal_direction; - self.looking_at(look_target, up) - } - - fn lerp(self, other: Transform, ratio: f32) -> Transform { - let translation = self.translation.lerp(other.translation, ratio); - let rotation = self.rotation.slerp(other.rotation, ratio); - let scale = self.scale.lerp(other.scale, ratio); - Transform { - translation, - rotation, - scale, - } - } -} diff --git a/examples/common_xpbd/Cargo.toml b/examples/common_xpbd/Cargo.toml index 2582a738..d2921f11 100644 --- a/examples/common_xpbd/Cargo.toml +++ b/examples/common_xpbd/Cargo.toml @@ -10,10 +10,10 @@ default = ["blueprints"] [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_worlflow_examples_common = { path = "../common" } bevy_gltf_blueprints = { path = "../../crates/bevy_gltf_blueprints", optional = true } -bevy_xpbd_3d = { version = "0.4" } -bevy_asset_loader = { version = "0.20", features = ["standard_dynamic_assets"] } -bevy_editor_pls = { version = "0.8" } +bevy_xpbd_3d = { version = "0.5" } +bevy_asset_loader = { version = "0.21", features = ["standard_dynamic_assets"] } +#bevy_editor_pls = { version = "0.8" } rand = "0.8.5" diff --git a/examples/common_xpbd/src/physics/utils.rs b/examples/common_xpbd/src/physics/utils.rs index 7886710f..98b8cbfd 100644 --- a/examples/common_xpbd/src/physics/utils.rs +++ b/examples/common_xpbd/src/physics/utils.rs @@ -1,54 +1,8 @@ use bevy::prelude::*; -use bevy::render::mesh::{MeshVertexAttributeId, PrimitiveTopology, VertexAttributeValues}; +use bevy::render::mesh::PrimitiveTopology; // TAKEN VERBATIB FROM https://github.com/janhohenheim/foxtrot/blob/src/util/trait_extension.rs -pub(crate) trait Vec3Ext: Copy { - fn is_approx_zero(self) -> bool; - fn split(self, up: Vec3) -> SplitVec3; -} -impl Vec3Ext for Vec3 { - #[inline] - fn is_approx_zero(self) -> bool { - self.length_squared() < 1e-5 - } - - #[inline] - fn split(self, up: Vec3) -> SplitVec3 { - let vertical = up * self.dot(up); - let horizontal = self - vertical; - SplitVec3 { - vertical, - horizontal, - } - } -} - -#[derive(Debug, Clone, Copy, PartialEq)] -pub(crate) struct SplitVec3 { - pub(crate) vertical: Vec3, - pub(crate) horizontal: Vec3, -} - -pub(crate) trait Vec2Ext: Copy { - fn is_approx_zero(self) -> bool; - fn x0y(self) -> Vec3; -} -impl Vec2Ext for Vec2 { - #[inline] - fn is_approx_zero(self) -> bool { - self.length_squared() < 1e-5 - } - - #[inline] - fn x0y(self) -> Vec3 { - Vec3::new(self.x, 0., self.y) - } -} - pub(crate) trait MeshExt { - fn transform(&mut self, transform: Transform); - fn transformed(&self, transform: Transform) -> Mesh; - fn read_coords_mut(&mut self, id: impl Into) -> &mut Vec<[f32; 3]>; fn search_in_children<'a>( parent: Entity, children: &'a Query<&Children>, @@ -58,37 +12,6 @@ pub(crate) trait MeshExt { } impl MeshExt for Mesh { - fn transform(&mut self, transform: Transform) { - for coords in self.read_coords_mut(Mesh::ATTRIBUTE_POSITION.clone()) { - let vec3 = (*coords).into(); - let transformed = transform.transform_point(vec3); - *coords = transformed.into(); - } - for normal in self.read_coords_mut(Mesh::ATTRIBUTE_NORMAL.clone()) { - let vec3 = (*normal).into(); - let transformed = transform.rotation.mul_vec3(vec3); - *normal = transformed.into(); - } - } - - fn transformed(&self, transform: Transform) -> Mesh { - let mut mesh = self.clone(); - mesh.transform(transform); - mesh - } - - fn read_coords_mut(&mut self, id: impl Into) -> &mut Vec<[f32; 3]> { - // Guaranteed by Bevy for the current usage - match self - .attribute_mut(id) - .expect("Failed to read unknown mesh attribute") - { - VertexAttributeValues::Float32x3(values) => values, - // Guaranteed by Bevy for the current usage - _ => unreachable!(), - } - } - fn search_in_children<'a>( parent: Entity, children_query: &'a Query<&Children>, @@ -125,51 +48,3 @@ impl MeshExt for Mesh { } } } - -pub(crate) trait F32Ext: Copy { - fn is_approx_zero(self) -> bool; - fn squared(self) -> f32; - fn lerp(self, other: f32, ratio: f32) -> f32; -} - -impl F32Ext for f32 { - #[inline] - fn is_approx_zero(self) -> bool { - self.abs() < 1e-5 - } - - #[inline] - fn squared(self) -> f32 { - self * self - } - - #[inline] - fn lerp(self, other: f32, ratio: f32) -> f32 { - self.mul_add(1. - ratio, other * ratio) - } -} - -pub(crate) trait TransformExt: Copy { - fn horizontally_looking_at(self, target: Vec3, up: Vec3) -> Transform; - fn lerp(self, other: Transform, ratio: f32) -> Transform; -} - -impl TransformExt for Transform { - fn horizontally_looking_at(self, target: Vec3, up: Vec3) -> Transform { - let direction = target - self.translation; - let horizontal_direction = direction - up * direction.dot(up); - let look_target = self.translation + horizontal_direction; - self.looking_at(look_target, up) - } - - fn lerp(self, other: Transform, ratio: f32) -> Transform { - let translation = self.translation.lerp(other.translation, ratio); - let rotation = self.rotation.slerp(other.rotation, ratio); - let scale = self.scale.lerp(other.scale, ratio); - Transform { - translation, - rotation, - scale, - } - } -} diff --git a/testing/bevy_example/Cargo.toml b/testing/bevy_example/Cargo.toml index 3dbc4cad..3aacf28a 100644 --- a/testing/bevy_example/Cargo.toml +++ b/testing/bevy_example/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bevy = { version = "0.13", features = ["dynamic_linking"] } +bevy = { version = "0.14", features = ["dynamic_linking"] } bevy_gltf_blueprints = { path = "../../crates/bevy_gltf_blueprints" } bevy_registry_export = { path = "../../crates/bevy_registry_export" } bevy_gltf_worlflow_examples_common_rapier = { path = "../../examples/common_rapier" } -bevy_rapier3d = { version = "0.25.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } -bevy_asset_loader = { version = "0.20", features = ["standard_dynamic_assets"] } -bevy_editor_pls = { version = "0.8" } +bevy_rapier3d = { version = "0.27.0", features = ["serde-serialize", "debug-render-3d", "enhanced-determinism"] } +bevy_asset_loader = { version = "0.21", features = ["standard_dynamic_assets"] } +#bevy_editor_pls = { version = "0.8" } rand = "0.8.5" diff --git a/testing/bevy_example/src/game/mod.rs b/testing/bevy_example/src/game/mod.rs index 973140b6..3f8dfb0c 100644 --- a/testing/bevy_example/src/game/mod.rs +++ b/testing/bevy_example/src/game/mod.rs @@ -94,7 +94,7 @@ fn generate_screenshot( } fn exit_game(mut app_exit_events: ResMut>) { - app_exit_events.send(bevy::app::AppExit); + app_exit_events.send(AppExit::Success); } pub struct GamePlugin; diff --git a/tools/bevy_components/__init__.py b/tools/bevy_components/__init__.py index 48effb9f..1683a96c 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, 4, 1), + "version": (0, 4, 2), "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 6fadb306..b7a6bf45 100644 --- a/tools/bevy_components/propGroups/conversions_from_prop_group.py +++ b/tools/bevy_components/propGroups/conversions_from_prop_group.py @@ -22,7 +22,9 @@ "glam::Quat": lambda value: "Quat(x:"+str(value[0])+ ", y:"+str(value[1])+ ", z:"+str(value[2])+ ", w:"+str(value[3])+")", - "bevy_render::color::Color": lambda value: "Rgba(red:"+str(value[0])+ ", green:"+str(value[1])+ ", blue:"+str(value[2])+ ", alpha:"+str(value[3])+ ")", + "bevy_color::srgba::Srgba": lambda value: "Srgba(red:"+str(value[0])+ ", green:"+str(value[1])+ ", blue:"+str(value[2])+ ", alpha:"+str(value[3])+ ")", + "bevy_color::linear_rgba::LinearRgba": lambda value: "LinearRgba(red:"+str(value[0])+ ", green:"+str(value[1])+ ", blue:"+str(value[2])+ ", alpha:"+str(value[3])+ ")", + "bevy_color::hsva::Hsva": lambda value: "Hsva(hue:"+str(value[0])+ ", saturation:"+str(value[1])+ ", value:"+str(value[2])+ ", alpha:"+str(value[3])+ ")", } #converts the value of a property group(no matter its complexity) into a single custom property value diff --git a/tools/bevy_components/propGroups/conversions_to_prop_group.py b/tools/bevy_components/propGroups/conversions_to_prop_group.py index 84d10e2b..90db3937 100644 --- a/tools/bevy_components/propGroups/conversions_to_prop_group.py +++ b/tools/bevy_components/propGroups/conversions_to_prop_group.py @@ -118,10 +118,14 @@ def parse_vec4(value, caster, typeName): parsed = parse_struct_string(value.replace(typeName,"").replace("(", "").replace(")","") ) return [caster(parsed['x']), caster(parsed['y']), caster(parsed['z']), caster(parsed['w'])] -def parse_color(value, caster, typeName): +def parse_color_rgba(value, caster, typeName): parsed = parse_struct_string(value.replace(typeName,"").replace("(", "").replace(")","") ) return [caster(parsed['red']), caster(parsed['green']), caster(parsed['blue']), caster(parsed['alpha'])] +def parse_color_hsva(value, caster, typeName): + parsed = parse_struct_string(value.replace(typeName,"").replace("(", "").replace(")","") ) + return [caster(parsed['hue']), caster(parsed['saturation']), caster(parsed['value']), caster(parsed['alpha'])] + def to_int(input): return int(float(input)) @@ -163,7 +167,10 @@ def to_int(input): '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_color::srgba::Srgba": lambda value: parse_color_rgba(value, float, "Srgba"), + "bevy_color::linear_rgba::LinearRgba": lambda value: parse_color_rgba(value, float, "LinearRgba"), + "bevy_color::hsva::Hsva": lambda value: parse_color_hsva(value, float, "Hsva"), + 'bevy_ecs::entity::Entity': lambda value: int(value), } diff --git a/tools/bevy_components/registry/registry.py b/tools/bevy_components/registry/registry.py index 20eb14a4..f48b0c94 100644 --- a/tools/bevy_components/registry/registry.py +++ b/tools/bevy_components/registry/registry.py @@ -140,7 +140,9 @@ class ComponentsRegistry(PropertyGroup): "glam::Quat": {"type": FloatVectorProperty, "presets": {"size":4} }, - "bevy_render::color::Color": dict(type = FloatVectorProperty, presets=dict(subtype='COLOR', size=4)), + "bevy_color::srgba::Srgba": dict(type = FloatVectorProperty, presets=dict(subtype='COLOR', size=4)), + "bevy_color::linear_rgba::LinearRgba": dict(type = FloatVectorProperty, presets=dict(subtype='COLOR', size=4)), + "bevy_color::hsva::Hsva": dict(type = FloatVectorProperty, presets=dict(subtype='COLOR', size=4)), "char": dict(type=StringProperty, presets=dict()), "str": dict(type=StringProperty, presets=dict()), @@ -202,8 +204,10 @@ class ComponentsRegistry(PropertyGroup): "glam::Quat": [0.0, 0.0, 0.0, 0.0], - "bevy_render::color::Color": [1.0, 1.0, 0.0, 1.0], - + "bevy_color::srgba::Srgba": [1.0, 1.0, 0.0, 1.0], + "bevy_color::linear_rgba::LinearRgba": [1.0, 1.0, 0.0, 1.0], + "bevy_color::hsva::Hsva": [1.0, 1.0, 0.0, 1.0], + 'bevy_ecs::entity::Entity': 0,#4294967295, # this is the same as Bevy's Entity::Placeholder, too big for Blender..sigh 'bevy_utils::Uuid': '"'+str(uuid.uuid4())+'"' diff --git a/tools/bevy_components/tests/component_values_shuffler.py b/tools/bevy_components/tests/component_values_shuffler.py index 567e1c3f..bd71dc4e 100644 --- a/tools/bevy_components/tests/component_values_shuffler.py +++ b/tools/bevy_components/tests/component_values_shuffler.py @@ -61,7 +61,10 @@ def random_vec(length, type,): "glam::Quat": lambda : random_vec(4, 'float'), - 'bevy_render::color::Color': lambda : random_vec(4, 'float'), + 'bevy_color::srgba::Srgba': lambda : random_vec(4, 'float'), + 'bevy_color::linear_rgba::LinearRgba': lambda : random_vec(4, 'float'), + 'bevy_color::hsva::Hsva': lambda : random_vec(4, 'float'), + 'alloc::string::String': lambda : random_word(8), 'alloc::borrow::Cow': lambda : random_word(8), diff --git a/tools/gltf_auto_export/__init__.py b/tools/gltf_auto_export/__init__.py index aa8f9eae..3f06c12a 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, 16, 0), + "version": (0, 16, 1), "blender": (3, 4, 0), "location": "File > Import-Export", "description": "glTF/glb auto-export", diff --git a/tools/gltf_auto_export/modules/bevy_scene_components.py b/tools/gltf_auto_export/modules/bevy_scene_components.py index 382fc7c2..ce2d29b0 100644 --- a/tools/gltf_auto_export/modules/bevy_scene_components.py +++ b/tools/gltf_auto_export/modules/bevy_scene_components.py @@ -44,7 +44,7 @@ def ambient_color_to_component(world): if color is not None and strength is not None: - colorRgba = f"Rgba(red: {color[0]}, green: {color[1]}, blue: {color[2]}, alpha: {color[3]})" + colorRgba = f"LinearRgba((red: {color[0]}, green: {color[1]}, blue: {color[2]}, alpha: {color[3]}))" component = f"( color: {colorRgba}, strength: {strength})" return component return None