Struct bevy_inspector_egui::WorldInspectorPlugin[][src]

pub struct WorldInspectorPlugin<F = ()>(_);

Plugin for displaying an inspector window of all entites in the world and their components.

use bevy::prelude::*;
use bevy_inspector_egui::WorldInspectorPlugin;

fn main() {
    App::build()
        .add_plugins(DefaultPlugins)
        .add_plugin(WorldInspectorPlugin::new())
        .add_startup_system(setup.system())
        .run();
}

fn setup(mut commands: Commands) {
  // setup your scene
  // adding `Name` components will make the inspector more readable
}

Implementations

impl WorldInspectorPlugin[src]

pub fn new() -> Self[src]

Create new WorldInpsectorPlugin

pub fn filter<F>(self) -> WorldInspectorPlugin<F>[src]

Constrain the world inspector to only show entities matching the query filter F

struct Show;

App::build()
  .add_plugin(WorldInspectorPlugin::new().filter::<With<Show>>())
  .run();

Trait Implementations

impl Default for WorldInspectorPlugin[src]

impl<F> Plugin for WorldInspectorPlugin<F> where
    F: WorldQuery + 'static,
    F::Fetch: FilterFetch, 
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> Downcast<T> for T

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T> FromWorld for T where
    T: Default

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,