TextLayoutInfo

TextLayoutInfo

  • glyphs : alloc::vec::Vec<bevy_text::glyph::PositionedGlyph>
  • size : glam::Vec2

Description

Render information for a corresponding text block.

Contains scaled glyphs and their size. Generated via [TextPipeline::queue_text] when an entity has [TextLayout] and [ComputedTextBlock] components.

Functions