#bevy #render #batch #vertex #graphics #bevy-plugin

hephae-gui

Hephae's Graphical User Interface abstract layout module

1 unstable release

0.6.0 Feb 15, 2025

#77 in Rendering

Download history 126/week @ 2024-12-25 110/week @ 2025-01-01 20/week @ 2025-01-08 112/week @ 2025-01-29 18/week @ 2025-02-05 119/week @ 2025-02-12 10/week @ 2025-02-19 7/week @ 2025-02-26

165 downloads per month

MIT/Apache

93KB
2K SLoC

hephae-gui

Hephae's GUI abstract layout module, with a sensible default. If you'd like to create your own layout system, refer to these:

  • GuiLayout: The main component that handles the affine transform (which includes offset, scale, and rotation) and size for its direct children. Cont is a built-in GUI layout that arranges its children either horizontally or vertically without wrapping.
  • GuiRoot: The component that's placed on root GUI entities only, specifying how its GUI tree should be projected to the world space. FromCamera2d is a built-in GUI root that projects its tree to the 2D camera's near space.
  • GuiLayoutPlugin<T: GuiLayout>: Attaches layout systems generic over T to the application.
  • GuiRootPlugin<T: GuiRoot>: Attaches root-transform systems generic over T to the application.

Dependencies

~34–67MB
~1M SLoC