mirror of
https://github.com/bevyengine/bevy
synced 2025-01-10 04:08:55 +00:00
b900b97aa2
# Objective - I want to associate `TypeData` with `Mesh`, to make it editable/inspectable in my reflection-based editor. `Mesh` has to implement `Reflect` for that. The precise reflection behavior does not matter. ## Solution - `#[derive(Reflect)]`, ignore fields whose types aren't reflectable. - Call `App::register_asset_reflect` in the `MeshPlugin`. --- ## Changelog - `Mesh` now implements `Reflect`. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |