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 screenshotbrp_extras/shutdown
: Gracefully shutdown the appbrp_extras/discover_format
: Discover component format information
Structs§
- BrpExtras
Plugin - Plugin type for adding extra BRP methods
- Field
Info - Information about a specific field that can be mutated
- Format
Info - Complete format information for a component type
- Mutation
Info - Information about available mutation paths and formats
- Spawn
Info - Information about how to format data for spawn operations
Constants§
- BrpExtras
Plugin - 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