Function bevy::ui::widget::text_system
[−]pub fn text_system(
queued_text: Local<'_, QueuedText>,
last_scale_factor: Local<'_, f64>,
textures: ResMut<'_, Assets<Image>>,
fonts: Res<'_, Assets<Font>>,
windows: Res<'_, Windows>,
texture_atlases: ResMut<'_, Assets<TextureAtlas>>,
font_atlas_set_storage: ResMut<'_, Assets<FontAtlasSet>>,
text_pipeline: ResMut<'_, TextPipeline<Entity>>,
text_queries: ParamSet<'_, '_, (Query<'_, '_, Entity, Or<(Changed<Text>, Changed<Style>)>>, Query<'_, '_, Entity, (With<Text>, With<Style>)>, Query<'_, '_, (&Text, &Style, &mut CalculatedSize), ()>)>
)
Expand description
Updates the layout and size information whenever the text or style is changed.
This information is computed by the TextPipeline
on insertion, then stored.