Skip to main content

Module components

Module components 

Source
Expand description

UI components for the Khora Engine.

Structs§

UiBorder
Border specification for a UI element.
UiColor
Visual color of a UI element.
UiImage
Visual image of a UI element.
UiInteraction
Track the interaction capabilities and current state of a UI element.
UiNode
Represents the layout definition of a UI element. Fully Send/Sync ECS component that is later translated to a layout engine (like taffy) internally.
UiRect
A layout dimension structure
UiStyle
The visual style of a UI element.
UiText
Typography settings for a text element.
UiTransform
The computed screen-space transform of a UI element. This is populated by the layout system (e.g. UiAgent) after evaluating the taffy tree.

Enums§

UiFlexDirection
Flex direction for child nodes
UiInteractionState
Represents the interaction state of a UI element.
UiVal
Length units for UI elements