Namespace Unity.AppUI.UI
Classes
Accordion
Accordion UI element.
AccordionItem
Item used inside an Accordion element.
AccordionItemValueChangedEvent
Event for when an accordion item value has changed.
ActionBar
ActionBar UI element.
ActionButton
ActionButton UI element.
ActionGroup
ActionGroup UI element.
ActionTriggeredEvent
An Action has been triggered.
AlertDialog
AlertDialog UI element.
AnchorPopupUtils
Utility class to compute the position of a popup based on the anchor's position and size.
AnchorPopup<T>
Base class for Popup that can be anchored to another UI Element.
AppBar
AppBar is a component that can be used to display a title, a back button, a drawer button and a set of actions.
Avatar
Avatar UI element.
BackgroundExtensions
Extension methods for Background objects.
Badge
Badge UI element.
BaseDialog
Base class for Dialogs (Dialog, AlertDialog, etc).
BaseSlider<TValueType, THandleValueType>
Base class for any Slider (TouchSliderFloat, TouchSliderInt, SliderFloat, SliderInt).
BaseTextElement
Base class for all textual App UI components.
BaseVisualElement
Base class for all non textual App UI components.
BottomNavBar
A bottom navigation bar visual element.
BottomNavBarItem
A bottom navigation bar item visual element.
BottomNotification<T>
A base class for notification displayed at the bottom of the screen.
BoundsField
Bounds Field UI element.
BoundsIntField
BoundsInt Field UI element.
BreadcrumbItem
BreadcrumbItem visual element.
BreadcrumbSeparator
BreadcrumbSeparator visual element.
Breadcrumbs
Breadcrumbs visual element.
Button
Button UI element.
Canvas
A Canvas is a VisualElement that can be used to group other VisualElements. You can use it to create a scrollable area inside a window.
CanvasBackground
A CanvasBackground is a VisualElement used as the background of a Canvas.
ChangingEvent<TValueType>
THe value changing event.
Checkbox
Checkbox UI element.
Chip
Chip UI element.
CircularProgress
CircularProgress UI element. This is a circular progress bar.
Clickable
Clickable Manipulator, used on Button elements.
ColorExtensions
Extensions for working with colors.
ColorField
Color Field UI element.
ColorPicker
ColorPicker UI Element.
ColorSlider
A slider that allows the user to select a color value.
ColorSwatch
A color swatch is a visual element that displays a color or a gradient.
ColorToolbar
A toolbar that contains a color swatch for the previous color, a color swatch for the current color, and an eye dropper button.
ColorWheel
A color wheel that allows the user to select a color hue by rotating the wheel. It is also possible to set the saturation and brightness and opacity of the wheel.
ContextChangedEvent<T>
Event raised when the context has changed.
ContextProvider
This element can be used in the visual tree to wrap a part of the user-interface where the context of the application needs to be overriden.
DefaultPropertyDrawerAttribute
Use this attribute to draw a property with the default PropertyField.
Dialog
Dialog UI element.
DialogTrigger
DialogTrigger serves as a wrapper around a Dialog and its associated trigger, linking the Dialog's open state with the trigger's press state. Additionally, it allows you to customize the type and positioning of the Dialog.
Divider
Divider UI element.
DoubleField
Double Field UI element.
DpiChangedEvent
The DPI has changed.
Draggable
Manipulator which monitors Press, Hold and Release events in order to drag visuals.
Dragger
Manipulator that allows dragging from a container component.
Drawer
Drawer UI element. A drawer is a UI element that slides in from the side of the screen. It can be used to display additional content or to display a menu.
DrawerHeader
A drawer header visual element.
DropTarget<T>
A droppable is a container that can be used to drop content into.
DropZone
A drop zone is a container that can be used to drop content into.
Dropdown
Dropdown UI element.
DropdownItem
Dropdown item UI element.
EnumerableExtensions
Enumerable extension methods.
ExVisualElement
A visual element that can be used as a normal VisualElement but with additional styling options like shadows, borders, outline, etc.
FieldLabel
A label for a field.
FloatField
Float Field UI element.
FloatingActionButton
A floating action button.
FocusControllerExtensions
Extension methods for FocusController.
GradientExtensions
Extensions for the Gradient class.
GridView
A view containing recycled rows with items inside.
Heading
Heading UI element.
HelpText
A help text.
Icon
Icon UI component.
IconButton
IconButton UI element.
InputLabel
InputLabel UI element.
IntField
A VisualElement that displays a numeric value and allows the user to edit it.
KeyCodeExtensions
Extensions for the KeyCode enum.
KeyboardFocusController
A Manipulator that adds a class to the target element when it is keyboard focused. This is useful for accessibility purposes.
LinearProgress
LinearProgress UI element.
Link
A link visual element.
ListViewItem
A list view item visual element.
LocalizedTextElement
A localized text element.
LongField
A NumericalField<TValueType> that only accepts long values.
MagnificationGestureEvent
Event sent when a magnification gesture is recognized.
Mask
A visual element that can be used to mask color.
Menu
Menu UI element.
MenuBuilder
A utility class to build a Menu programmatically.
MenuDivider
MenuItem
An item contained inside a Menu element.
MenuSection
A section inside a menu, with a heading.
MenuTrigger
A wrapper to display a menu when a trigger has been activated.
Modal
The Modal Popup class.
NotifyValueChangingExtensions
Extensions for INotifyValueChanging<TValueType>.
NumericalField<TValueType>
Numerical Field UI element.
OptionalScaleDrawerAttribute
Use this attribute to draw a property with the optional ScaleDrawer.
OptionalThemeDrawerAttribute
Use this attribute to draw a property with the optional ThemeDrawer.
PageIndicator
PageIndicator UI element. This element is used to display a list of dots that can be used to navigate between pages.
PageView
A PageView is a container that displays a single child at a time and provides a UI to navigate between them. It is similar to a ScrollView but here children are snapped to the container's edges.
PanGestureEvent
Event sent when a pan gesture is recognized.
Panel
This is the main UI element of any Runtime App. The Panel class will create different UI layers for the main user-interface, popups, notifications and tooltips.
Picker
Picker UI element.
PickerItem
An Item from a Picker.
Picker<TItemType, TTitleType>
A Picker UI element with a title and a list of items.
Popover
A popup usually anchored to another UI element.
Popup
This is the base class for any UI component that needs to be displayed over the rest of the user interface.
Popup<T>
A generic base class for popups.
Preloader
A preloader visual element.
Pressable
Pressable Manipulator, used on Button elements.
Progress
A base class for all progress UI elements. This class is not meant to be used directly.
Quote
Quote UI element.
Radio
Radio UI element.
RadioGroup
A container for a set of Radio UI elements.
RangeSliderBase<TRangeType, TValueType>
Base class for Sliders (RangeSliderFloat, RangeSliderInt).
RangeSliderFloat
Range Slider UI element for floating point values.
RangeSliderInt
Range Slider UI element for integer values.
RectExtensions
Extension methods for the Rect class.
RectField
Rect Field UI element.
RectIntField
RectInt Field UI element.
SVSquare
SVSquare UI element. It is a square that allows to select a color by selecting a point in a 2D space.
The X axis represents the Hue and the Y axis represents the Saturation.ScaleDrawerAttribute
Use this attribute to draw a property with the ScaleDrawer.
Scrollable
A Manipulator that allows the user to scroll a target element using your finger or mouse click and drag.
SearchBar
SearchBar UI element.
SingleExtensions
Extension methods for Single and Double.
SliderBase<TValueType>
Base class for Sliders (SliderFloat, SliderInt).
SliderFloat
Slider UI element for floating point values.
SliderInt
Slider UI element for integer values.
Spacer
Spacer visual element.
SplitView
A SplitView is a container that displays two children at a time and provides a UI to navigate between them. The split bar can be dragged to resize the two children.
StackView
A StackView is a container that can contain multiple items. It is similar to a stack of cards. The items are added to the stack using the Push method. The top item is the current item. The current item can be removed using the Pop method. The item below the current item becomes the new current item. The current item can be replaced using the Replace method. The item below the current item is removed and the new item is added.
StackViewItem
An item in a StackView. It is a container for any UI element and must be used inside a StackView.
Stepper
Stepper UI element.
Styles
General usage styling classes for UI components.
SwipeView
A SwipeView is a container that displays one or more children at a time and provides a UI to navigate between them. It is similar to a ScrollView but here children are snapped to the container's edges. See PageView for a similar container that includes a page indicator.
SwipeViewItem
A SwipeViewItem is an item that must be used as a child of a SwipeView.
TabItem
An item used in Tabs bar.
Tabs
Tabs UI element.
Text
Text UI element.
TextArea
Text Area UI element.
TextField
Text Field UI element.
TextFieldExtensions
Extensions for the TextField class.
ThemeDrawerAttribute
Use this attribute to draw a property with the ThemeDrawer.
Toast
A toast is a view containing a quick little message for the user.
Toggle
Toggle UI element.
Toolbar
Accordion visual element.
Tooltip
The tooltip popup type.
TouchSliderFloat
TouchSlider UI element for floating point values.
TouchSliderInt
TouchSlider UI element for integer values.
TouchSlider<TValueType>
Base class for TouchSlider UI elements (TouchSliderFloat, TouchSliderInt).
TrackpadGestureManipulator
A manipulator that can be used to receive trackpad gestures.
Tray
The Tray Popup class.
UnityObject
Helper class to destroy objects in the editor and in play mode.
UxmlFilePathAttribute
Attribute to specify the path to the UXML file for a VisualElement
ValueOutOfRangeException
Exception thrown when a Visual Element hasn't been found.
Vector2Field
Vector2 Field UI element.
Vector2IntField
Vector2Int Field UI element.
Vector3Field
Vector3 Field UI element.
Vector3IntField
Vector3Int Field UI element.
Vector4Field
Vector4 Field UI element.
VisualElementExtensions
Extensions for VisualElement class.
VisualElementNotFoundException
Exception thrown when a Visual Element hasn't been found.
Structs
AdditionalStyle
Styling properties that can be applied to a ExVisualElement.
AnimationDescription
An animation description. It contains the duration of the animation, the easing function and the callback.
PositionOptions
Options to pass as argument to ComputePosition(VisualElement, VisualElement, Panel, PositionOptions) utility method.
PositionResult
The position result data structure returned in ComputePosition(VisualElement, VisualElement, Panel, PositionOptions) utility method.
Interfaces
IContextOverrideElement
Interface for any UI element that can override the current context of the UI.
IDismissInvocator
Interface that must be implemented by any UI component which wants to request a Dismiss(DismissType) if this component is displayed inside a Popup component.
IInputElement<TValueType>
Interface used on UI elements which handle user input.
INotifyValueChanging<TValueType>
Interface that must be implemented to UI components which can change their value progressively, like a Slider.
IPlaceableElement
Interface that should be implemented in UI elements that can be anchored to another UI element.
IPressable
Interface for pressable elements.
ISelectableElement
Interface used on UI elements which handle a selected state.
ISizeableElement
Interface used on UI elements which handle user-defined sizing.
IValidatableElement<TValueType>
Interface used on UI elements which handle value validation.
value
property,
hence this interface inherits from UnityEngine.UIElements.INotifyValueChanged<T>.
Enums
AlertSemantic
Semantic values used for AlertDialog variants.
See variant.
AnimationMode
The animation used by Notification to appear and disappear.
AvatarVariant
The Avatar variant.
BadgeOverlapType
The overlap type of the Badge.
BadgeVariant
The variant of the Badge.
BorderStyle
The style of a border.
ButtonVariant
The variant of the Button.
CanvasControlScheme
The current Canvas control scheme.
CanvasManipulator
The current Canvas manipulator for the primary pointer.
CheckboxState
The possible states for a Checkbox.
Chip.Variant
The possible variants for a Chip.
ColorPicker.SliderMode
The type of channels sliders to display in the ColorPicker.
Direction
Direction of a UI container.
Draggable.DragDirection
The direction of the drag.
DrawerAnchor
The anchor of the Drawer. The Drawer will be anchored to the left or right side of the screen.
DrawerVariant
The variant of the Drawer.
DropZoneState
The state of the DropZone.
ExVisualElement.Passes
Rendering passes that will be executed. This is used to optimize and fine-tune the rendering.
GrabMode
The current Grab Mode.
GridView.GridOperations
Available Operations.
HeadingSize
Heading sizing.
HelpTextVariant
The variant of the HelpText.
HorizontalAnchor
A horizontal anchor.
IconSize
Sizing values for Icon elements.
IconVariant
Variant values for Icon elements.
IndicatorType
The type of indicator to display when a field is required.
InlineValue
Inline mode for the Slider value element.
MobilePopupPresentationType
Same as PopupPresentationType but for Mobile explicitly.
ModalFullScreenMode
The FullScreen mode used by a Modal component.
NotificationStyle
The style used to display the Notification element.
OutsideClickStrategy
The strategy used to determine if a click is outside of the popup.
PickerSelectionType
The type of selection for a Picker.
PopoverPlacement
Possible placements for a Popover.
PopupPresentationType
By providing a type prop, you can specify the type of Dialog that is rendered by your DialogTrigger.
Progress.Variant
The progress variant.
ScrollDirection
The direction of the scroll.
Size
The sizing of UI components.
SpacerSpacing
The spacer spacing.
Spacing
The spacing of UI components.
StackViewItemStatus
The status of a StackViewItem.
StackViewOperation
The operation to perform on a StackView.
TextOverflow
The text overflow mode.
TextSize
Sizing values for Text UI element.
ToolbarDockMode
The dock mode of the Toolbar.
TrayPosition
The position of the Tray.
VerticalAnchor
A vertical anchor.
Delegates
DropZone.TryGetDroppableFromPathHandler
Delegate used to find any droppable object(s) that can be dropped on the target using the current drag and drop path data.
DropZone.TryGetDroppablesFromUnityObjectsHandler
Delegate used to find any droppable object(s) that can be dropped on the target using the current drag and drop objects data.
DropZone.TryGetDroppablesHandler
Delegate used to find any droppable object(s) that can be dropped on the target.