PositionedGlyph

PositionedGlyph

  • position : glam::Vec2
  • size : glam::Vec2
  • atlas_info : bevy_text::glyph::GlyphAtlasInfo
  • span_index : usize
  • byte_index : usize

Description

A glyph of a font, typically representing a single character, positioned in screen space.

Contains information about how and where to render a glyph.

Used in TextPipeline::queue_text and [crate::TextLayoutInfo] for rendering glyphs.

Functions