-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3d text widget #7426
base: main
Are you sure you want to change the base?
3d text widget #7426
Conversation
Welcome, new contributor!
|
2 similar comments
Welcome, new contributor!
|
Welcome, new contributor!
|
…ound, added comments
ab1395e
to
f57da7c
Compare
Rebased onto |
Your PR increases Bevy Minimum Supported Rust Version. Please update the |
Sorry for the wrong message, the job checking for MSRV failed installing dependencies |
This PR implements a basic of rendering text widgets in 3D space.
Fixes #5598
The following situation causes multiple textures:
There's a couple of ways to solve this:
info.glyphs[*].atlas_info.texture_atlas
entry (would be a lot of node management)Text3dbundle
with a single segmentFor this PR I've decided to generate child node for each texture. Let me know if another solution is better.
Changelog
Breaking changes
bevy_text::update_text2d_layout
tobevy_text::update_layout::<Text2dBounds>
bevy_text::extract_text2d_sprite
is now limited to entities with aText2dBounds
componentAdded
bevy_text::Text3dBundle
which allows rendering text in 3d space