Crate bevy_kot_ui

source ·

Modules

Structs

  • Callback added to interactive element: Callback<AbortPress>
  • Helper system param for accessing a cursor’s world position.
  • Callback added to interactive element: Callback<Deselect>
  • Disable an interaction source on an entity. Does not disable targeting (use DisableInteractiveElementTargeting).
  • Globally disable an interaction source.
  • Disable interaction targeting on an entity.
  • Indicates an entity is disabled.
  • Globally enable an interaction source (only works if the source was registered).
  • Enable interaction targeting on an entity.
  • Interaction barrier that applies to a specific cursor interacting with a Lunex UI tree.
  • System set that contains all interaction pipelines.
  • Element that may be interacted with by a specific interaction source.
  • Builder for an interactive UI element.
  • Callback invoked when an interaction source is just clicked over the entity.
  • Callback invoked when an interaction source is clicking over the entity.
  • Callback invoked when an interaction source is clicking away from the entity’s press home zone when the entity is pressed.
  • Callback invoked when an interaction source is clicking over the entity’s press home zone when the entity is pressed.
  • Callback invoked when an interaction source is hovering over the entity.
  • Callback invoked when an interaction source just unclicked and the entity is pressed.
  • Callback invoked if an entity is Hovered but now the interaction source is away from the entity.
  • Component tag for the press home zone (widget that overlays an element and controls press interactions).
  • Callback added to interactive element: Callback<Select>
  • Callback added to interactive element: Callback<StartPress>
  • Manages a stack of styles.
  • A style stack resource parameterized by the associated UI tree’s type.
  • Context for building a UI tree.
  • Interaction barrier that applies to any cursor interacting with a Lunex UI tree.
  • Callback added to interactive element: Callback<UnPress>

Enums

Traits

  • An interaction source represents a source of interactions (hovers and clicks) for bevy_lunex::UiTree<Ui>s with a specific LunexUi tag.
  • A LunexCursor represents an interface between a hardware cursor (represented by a bevy_lunex::Cursor), and elements connected to a bevy_lunex::UiTree<Ui> in a bevy world. You can add and remove LunexCursor components on an entity with bevy_lunex::Cursor as needed for different use-cases. If you add the Disabled component to a cursor entity, then none of the associated LunexCursors will be used to interact with interaction sources.
  • Components with this trait are used to tag bevy_lunex::UiTree<Ui>s for accurate filtering in interaction pipelines.
  • Identifies style structs.
  • Collection of styles.

Functions

Derive Macros