Module bevy::text

source ·
Expand description

Text drawing, styling, and font assets.

Modules§

Structs§

Enums§

  • Determines how lines will be broken when preventing text from running out of bounds.
  • Possible errors that can be produced by FontLoader
  • Describes the horizontal alignment of multiple lines of text relative to each other. This only affects the internal positioning of the lines of text within a text entity and does not affect the text entity’s position.
  • Text is rendered for two different view projections, a Text2dBundle is rendered with a BottomToTop y axis, while UI is rendered with a TopToBottom y axis. This matters for text because the glyph positioning is different in either layout.

Functions§