add reflection for Template, FromTemplate, SceneComponent and SceneComponent Props
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## What problem does this solve or what need does it fill?
I want to be able to build scenes using properties from the tiles editor (this would be useful in general for support outside tools).
For this I need to be able to discern if a component is a SceneComponent so I can then export it's props, additionally I need to find the associated Template to export.
Similarly I need to be able to check if a component is a scene component to add it to the scene correctly on import.
## What solution would you like?
I would like Templates and SceneComponent properties to get reflected in bevy libraries and a way to be added to reflection for checking if a Reflected value implements FromTemplate or SceneComponent
## What alternative(s) have you considered?
I'm not aware of any alternative currently.
## Additional Context
https://discord.com/channels/691052431525675048/1522920654645629009
Contributor guide
Research direction
Start by locating the existing reflection support for Template, FromTemplate, and SceneComponent in the Bevy libraries. Trace how reflected values are checked and how scene components are handled during export or import. Done means the requested types and properties can be reflected and checked for the relevant traits and component behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100