Module bevy::ui

source ·
Expand description

User interface components and widgets.

Modules

Configuration for cameras related to UI.
This module contains basic node bundles used to build UIs
This module contains systems that update the UI when something changes
This module contains the basic building blocks of Bevy’s UI

Structs

The background color of the node
The calculated clip of the node
The calculated size of the node
Describes the size of a UI node
Automatically generated WorldQuery item type for NodeQuery, returned when iterating over query results.
Automatically generated WorldQuery item type for [NodeQueryReadOnly], returned when iterating over query results.
A 2-dimensional area defined by a width and height.
Contains entities whose Interaction should be set to None
Describes the style of a UI node
The 2D texture displayed for this UI node
The basic plugin for Bevy UI
A type which is commonly used to define positions, margins, paddings and borders.
The current scale of the UI.
The current UI stack, which contains all UI nodes ordered by their depth.

Enums

Defines how each line is aligned within the flexbox.
How items are aligned according to the cross axis
Works like AlignItems but applies only to a single item
Defines the text direction
Whether to use a Flexbox layout model.
Defines how flexbox items are ordered within a flexbox
Defines if flexbox items appear on a single line or on multiple lines
Describes whether the node should block interactions with lower nodes
Describes what type of input interaction has occurred for a UI node.
Defines how items are aligned according to the main axis
Whether to show or hide overflowing items
The strategy used to position this node
The label enum labeling the types of systems in the Bevy UI
An enum that describes possible types of value in flexbox layout options
Indicates that this Node entity’s front-to-back ordering is not controlled solely by its location in the UI hierarchy. A node with a higher z-index will appear on top of other nodes with a lower z-index.

Constants

Functions

Type Definitions