Crate bevy_brp_extras

Crate bevy_brp_extras 

Source
Expand description

Extra BRP methods for Bevy applications

This crate provides additional Bevy Remote Protocol (BRP) methods that can be added to your Bevy application for enhanced remote control capabilities.

§Usage

Add the plugin to your Bevy app:

use bevy::prelude::*;
use bevy_brp_extras::BrpExtrasPlugin;

App::new()
    .add_plugins(DefaultPlugins)
    .add_plugins(BrpExtrasPlugin::default())
    .run();

This will add the following BRP methods to your app:

  • brp_extras/screenshot: Capture a screenshot
  • brp_extras/shutdown: Gracefully shutdown the app
  • brp_extras/discover_format: Discover component format information

Structs§

BrpExtrasPlugin
Plugin type for adding extra BRP methods
FieldInfo
Information about a specific field that can be mutated
FormatInfo
Complete format information for a component type
MutationInfo
Information about available mutation paths and formats
SpawnInfo
Information about how to format data for spawn operations

Constants§

BrpExtrasPlugin
Plugin that adds extra BRP methods to a Bevy app
DEFAULT_REMOTE_PORT
Default port for remote control connections

Functions§

discover_component_format
Discover format information for a given component type
discover_multiple_formats
Discover formats for multiple component types
get_common_component_types
Get common component type names for discovery