Simple Demo (source)
Planet Generation (source)
World Inspector (source)
Example code
use bevy_inspector_egui::WorldInspectorPlugin;
fn main() {
App::new()
.add_plugin(WorldInspectorPlugin::new())
// ...
}
UI (source)
Texture (source)
Rapier Integration (source)
- requires
rapier
feature
Inspector Query (source)
Example code
use bevy_inspector_egui::widgets::InspectorQuery;
#[derive(Inspectable)]
struct Inspector {
root_elements: InspectorQuery<Without<Parent>>
}
Enum derive (source)
Entity (source)
Multiple Inspectors (source)
New egui window (source)
Reflected UI (source)
Example code
Sometimes you want to include types not implementing Inspectable
in your inspector. If said type implements Reflect
, you can use the ReflectedUI
wrapper type:
use bevy::prelude::*;
use bevy_inspector_egui::widgets::ReflectedUI;
#[derive(Inspectable)]
struct Inspector {
timer: ReflectedUI<Timer>,
}