UnityEngine.UIElementsModule Abstract base class for the ProgressBar. USS Class Name used to style the background of the ProgressBar. USS Class Name used to style the container of the ProgressBar. Sets the maximum value of the ProgressBar. Sets the minimum value of the ProgressBar. USS Class Name used to style the progress bar of the ProgressBar. Sets the title of the ProgressBar that displays in the center of the control. USS Class Name used to style the container of the title of the ProgressBar. USS Class Name used to style the title of the ProgressBar. USS Class Name used to style the ProgressBar. Sets the progress value. If the value has changed, dispatches an ChangeEvent_1 of type float. Sets the progress value. Defines the alignement behavior along an axis. Let Flex decide. Items are centered on the axis. End margin of the item is placed at the end of the axis. Start margin of the item is placed at the start of the axis. Default. stretch to fill the axis while respecting min/max values. Options to display alternating background colors for ListView rows. Alternate background colors for all rows, regardless of whether they have content. The background color continues to alternate for empty lines. Alternate background colors only for rows that have content. The background color does not alternate for empty lines. Do not alternate background colors for rows. Represents an angle value. The unit of the value property. The angle value. Creates an Angle from a float and an optionnal AngleUnit. Creates an Angle from a float and an optionnal AngleUnit. Creates a percentage Angle from a float. The created angle. Returns the value of the angle, expressed in degrees. Unit of measurement used to express the value of an Angle. Interprets an angle as degrees. Interprets the measurement of an angle in gradians. One full circle is 400 gradians Interprets the measurement of an angle in radians. One full circle is 2Pi radians which approximates to 6.2832 radians Interprets the measurement of an angle, expressed as a number of turns. One full circle is one turn. Event sent after an element is added to an element that is a descendent of a panel. Describes a VisualElement background. The RenderTexture to display as a background. The sprite to display as a background. The texture to display as a background. The VectorImage to display as a background. Creates from a Texture2D. Creates a background from a RenderTexture. The render texture to use as a background. A new background object. Creates a background from a Sprite. The sprite to use as a background. A new background object. Creates a background from a Texture2D. The texture to use as a background. A new background object. Creates a background from a VectorImage. The vector image to use as a background. A new background object. A BaseBoolField is a clickable element that represents a boolean value. Optional text that appears after the BaseBoolField. Creates a BaseBoolField with a Label and a default manipulator. The Label text. Initializes the Label element whenever the BaseBoolField.text property changes. Sets the value of the BaseBoolField, but does not notify the rest of the hierarchy of the change. Inverts the BaseBoolField.value property. Abstract base class for controls. USS class name of elements that are aligned in a inspector element USS class name of input elements in elements of this type. The string representing the label that will appear beside the field. USS class name of labels in elements of this type, when there is a dragger attached on them. This is the Label object that appears beside the input for the field. USS class name of labels in elements of this type. Read-only label used to give the appearance of editing multiple different values. USS class name of elements that show mixed values USS class name of elements of this type, when there is no label. The value of the element. When set to true, gives the field the appearance of editing multiple different values. USS class name of elements of this type. The value associated with the field. Allow to set a value without being notified of the change, if any. New value to be set. Update the field's visual content depending on showMixedValue. Defines UxmlTraits for the BaseField. Constructor. Traits for the BaseField. Initializes the trait of BaseField. The VisualElement to initialize. Bag of attributes. The creation context associated with these traits. This is a base class for the Slider fields. This is the actual property to contain the direction of the slider. USS class name of container elements in elements of this type. USS class name of the dragger border element in elements of this type. USS class name of dragger elements in elements of this type. This is the maximum value that the slider encodes. USS class name of elements of this type, when they are displayed horizontally. USS class name of input elements in elements of this type. This indicates whether or not this slider is inverted. For an inverted horizontal slider, high value is located to the left, low value is located to the right For an inverted vertical slider, high value is located to the bottom, low value is located to the top. USS class name of labels in elements of this type. This is the minimum value that the slider encodes. This is a generic page size used to change the value when clicking in the slider. This is the range from the minimum value to the maximum value of the slider. The visibility of the optional field inside the slider control. USS class name of the text field element in elements of this type. USS class name of tracker elements in elements of this type. USS class name of elements of this type. The actual value of the slider. USS class name of elements of this type, when they are displayed vertically. Method used to adjust the dragelement. Mainly used in a scroller. The factor used to adjust the drag element, where a value &gt; 1 will make it invisible. Base class for controls that display virtualized vertical content inside a scroll view. Callback for binding a data item to the visual element. The USS class name for BaseVerticalCollectionView elements with a border. Returns the content container for the BaseVerticalCollectionView. Because the BaseVerticalCollectionView control automatically manages its content, this always returns null. Callback invoked when a VisualElement created via makeItem is no longer needed and will be destroyed. The USS class name of the drag hover bar. The height of a single item in the list, in pixels. This property controls whether the collection view shows a horizontal scroll bar when its content does not fit in the visible area. The USS class name for odd rows in the BaseVerticalCollectionView. The USS class name applied to an item element on drag hover. The height of a single item in the list, in pixels. Called when an item is moved in the itemsSource. The USS class name of selected item elements in the BaseVerticalCollectionView. The data source for collection items. Called when the itemsSource is reassigned or changes size. The USS class name of item elements in BaseVerticalCollectionView elements. The USS class name of the scroll view in the BaseVerticalCollectionView. Callback for constructing the VisualElement that is the template for each recycled and re-bound element in the list. Callback triggered when a user double-clicks an item to activate it. This is different from selecting the item. Callback triggered when the user acts on a selection of one or more items, for example by double-clicking or pressing Enter. Callback triggered when the selection changes. Callback triggered when the selection changes. Callback triggered when the selection changes. Gets or sets a value that indicates whether the user can drag list items to reorder them. The computed pixel-aligned height for the list elements. Returns or sets the selected item's index in the data source. If multiple items are selected, returns the first selected item's index. If multiple items are provided, sets them all as selected. Returns the indices of selected items in the data source. Always returns an enumerable, even if no item is selected, or a single item is selected. Returns the selected item from the data source. If multiple items are selected, returns the first selected item. Returns the selected items from the data source. Always returns an enumerable, even if no item is selected, or a single item is selected. Controls the selection type. This property controls whether the background colors of collection view rows alternate. Takes a value from the AlternatingRowBackground enum. Enable this property to display a border around the collection view. Callback for unbinding a data item from the VisualElement. The USS class name for BaseVerticalCollectionView elements. The virtualization method to use for this collection when a scroll bar is visible. Takes a value from the CollectionVirtualizationMethod enum. Adds an item to the collection of selected items. Item index. Deselects any selected items. Creates a BaseVerticalCollectionView with all default properties. The BaseVerticalCollectionView.itemSource must all be set for the BaseVerticalCollectionView to function properly. Constructs a BaseVerticalCollectionView, with all required properties provided. The list of items to use as a data source. The height of each item, in pixels. For <c>FixedHeight</c> virtualization only. The factory method to call to create a display item. The method should return a VisualElement that can be bound to a data item. The method to call to bind a data item to a display item. The method receives as parameters the display item to bind, and the index of the data item to bind it to. Gets the root element the specified TreeView item. The TreeView item identifier. The TreeView item's root element. Gets the root element the specified collection view item. The item index. The item's root element. Clears the collection view, recreates all visible visual elements, and rebinds all items. Rebinds a single item if it is currently visible in the collection view. The item index. Rebinds all items currently visible. Removes an item from the collection of selected items. The item index. Scrolls to a specific VisualElement. The element to scroll to. Scrolls to a specific item id and makes it visible. Item id to scroll to. Scrolls to a specific item index and makes it visible. Item index to scroll to. Specify -1 to make the last item visible. Sets the currently selected item. The item index. Sets a collection of selected items. The collection of the indices of the items to be selected. Sets a collection of selected items without triggering a selection change callback. The collection of items to be selected. Element that can be bound to a property. Binding object that will be updated. Path of the target property to be bound. Instantiates a BindableElement using the data read from a UXML file. Defines UxmlTraits for the BindableElement. Constructor. Initialize BindableElement properties using values from the attribute bag. Event sent immediately after an element has lost focus. This event trickles down, it does not bubble up, and it cannot be cancelled. Styled visual element to match the IMGUI Box Style. USS class name of elements of this type. Initializes and returns an instance of Box. Instantiates a Box using the data read from a UXML file. This is a clickable button. Clickable MouseManipulator for this Button. Callback triggered when the button is clicked. Obsolete. Use Button.clicked instead. USS class name of elements of this type. Constructs a Button. Constructs a button with an Action that is triggered when the button is clicked. The action triggered when the button is clicked. Instantiates a Button using data from a UXML file. Defines UxmlTraits for the Button. Constructor. Interface for classes capable of having callbacks to handle events. Executes logic after the callbacks registered on the event target have executed, unless the event has been marked to prevent its default behaviour. EventBase{T}.PreventDefault. The event instance. Executes logic after the callbacks registered on the event target have executed, unless the event is marked to prevent its default behaviour. EventBase{T}.PreventDefault. The event instance. Handle an event, most often by executing the callbacks associated with the event. The event to handle. Return true if event handlers for the event propagation BubbleUp phase have been attached on this object. True if object has event handlers for the BubbleUp phase. Returns true if event handlers, for the event propagation TrickleDown phase, are attached to this object. True if object has event handlers for the TrickleDown phase. Adds an event handler to the instance. If the event handler has already been registered for the same phase (either TrickleDown or BubbleUp) then this method has no effect. The event handler to add. By default, this callback is called during the BubbleUp phase. Pass TrickleDown.TrickleDown to call this callback during the TrickleDown phase. Adds an event handler to the instance. If the event handler has already been registered for the same phase (either TrickleDown or BubbleUp) then this method has no effect. The event handler to add. Data to pass to the callback. By default, this callback is called during the BubbleUp phase. Pass TrickleDown.TrickleDown to call this callback during the TrickleDown phase. Sends an event to the event handler. The event to send. Remove callback from the instance. The callback to remove. Set this parameter to true to remove the callback from the TrickleDown phase. Set this parameter to false to remove the callback from the BubbleUp phase. Remove callback from the instance. The callback to remove. Set this parameter to true to remove the callback from the TrickleDown phase. Set this parameter to false to remove the callback from the BubbleUp phase. Sends an event when a value in a field changes. The new value. The value before the change occured. Constructor. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The previous value. The new value. An initialized event. Sets the event to its initial state. Manipulator that tracks Mouse events on an element and callbacks when the elements is clicked. This property tracks the activation of the manipulator. Set it to true when the manipulator is activated. Callback triggered when the target element is clicked. Callback triggered when the target element is clicked, including event data. Specifies the mouse position saved during the last mouse event on the target Element. Constructor. Determines when the event begins. Applies if delay &gt; 0. Determines the time delta between event repetition. Applies if interval &gt; 0. Constructor. Constructor. Invokes a click action. This method is called when a MouseDownEvent is sent to the target element. The event. This method is called when a MouseMoveEvent is sent to the target element. The event. This method is called when a MouseUpEvent is sent to the target element. The event. This method processes the up cancel sent to the target Element. This method processes the down event sent to the target Element. This method processes the move event sent to the target Element. This method processes the up event sent to the target Element. Called to register mouse event callbacks on the target element. Called to unregister event callbacks from the target element. This event is sent when the left mouse button is clicked. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. Options to change the virtualization method used by the ListView to display its content. ListView will use the actual height of every item when geometry changes. More flexible but less performant. ListView won't wait for the layout to update items, as the all have the same height. fixedItemHeight Needs to be set. More performant but less flexible. Base class for command events. Name of the command. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI command event. An initialized event. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The command name. An initialized event. Resets the event members to their initial values. The event sent when clicking the right mouse button. Describes in which context a VisualElement hierarchy is being ran. Currently running in the Unity Editor. Currently running in an Unity Player. Use this class to display a contextual menu. Displays the contextual menu. The event that triggered the display of the menu. The element for which the menu is displayed. Checks if the event triggers the display of the contextual menu. This method also displays the menu. The event to inspect. The element for which the menu is displayed. Displays the contextual menu. The menu to display. The event that triggers the display of the contextual menu. Manipulator that displays a contextual menu when the user clicks the right mouse button or presses the menu key on the keyboard. Constructor. Register the event callbacks on the manipulator target. Unregister the event callbacks from the manipulator target. The event sent when a contextual menu requires menu items. The menu to populate. The event that triggered the ContextualMenuPopulateEvent. Constructor. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The event that triggered the display of the contextual menu. The menu to populate. The element that triggered the display of the contextual menu. The menu manager that displays the menu. An initialized event. Resets the event members to their initial values. This structure holds information used during UXML template instantiation. The element into which the visualTreeAsset is being cloned or instantiated. VisualTreeAsset.CloneTree() VisualTreeAsset.Instantiate() The target UXML file to clone or instantiate. Script interface for VisualElement cursor style property IStyle.cursor. The offset from the top left of the texture to use as the target point (must be within the bounds of the cursor). The texture to use for the cursor style. To use a texture as a cursor, import the texture with "Read/Write enabled" in the texture importer (or using the "Cursor" defaults). Define a custom style property for an element to be retrieved with CustomStyleResolvedEvent. Name of the custom property. Creates custom property from a string. Name of the property. Must start with a -- prefix. Event sent after the custom style properties of a VisualElement have been resolved. Returns the custom style properties accessor for the targeted VisualElement. Event sent just before an element is detach from its parent, if the parent is the descendant of a panel. Defines how an element is displayed in the layout. The element displays normally. The element is not visible and absent from the layout. Base class for drag and drop events. Use the DragEnterEvent class to manage events that occur when dragging enters an element or one of its descendants. The DragEnterEvent is cancellable, it does not trickle down, and it does not bubble up. Constructor. Avoid renewing events. Instead, use GetPooled() to get an event from a pool of reusable events. Resets the event members to their initial values. The event sent to a dragged element when the drag and drop process ends. Constructor. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI drag exited event. An initialized event. Resets the event members to their initial values. Use the DragLeaveEvent class to manage events sent when dragging leaves an element or one of its descendants. The DragLeaveEvent is cancellable, it does not trickle down, and it does not bubble up. Constructor. Avoid renewing events. Instead, use GetPooled() to get an event from a pool of reusable events. Resets the event members to their initial values. The event sent to an element when another element is dragged and dropped on the element. The event sent when the element being dragged enters a possible drop target. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI drag updated event. An initialized event. A control that allows the user to pick a choice from a list of options. The list of choices to display in the popup menu. The currently selected index in the popup menu. This is the text displayed to the user for the current selection of the popup. This is the text displayed. The currently selected value in the popup menu. Construct a DropdownField. Construct a DropdownField. Construct a DropdownField. Construct a DropdownField. Construct a DropdownField. Construct a DropdownField. Allow changing value without triggering any change event. The new value. Instantiates a DropdownField using the data read from a UXML file. Defines UxmlTraits for the DropdownField. A drop-down menu. Add an item that will execute an action in the drop-down menu. The item is added at the end of the current item list. Name of the item. This name will be displayed in the drop-down menu. Callback to execute when the user selects this item in the menu. Callback to execute to determine the status of the item. An object that will be stored in the userData property of the DropdownMenuAction item. Add an item that will execute an action in the drop-down menu. The item is added at the end of the current item list. Name of the item. This name will be displayed in the drop-down menu. Callback to execute when the user selects this item in the menu. The status of the item. Add a separator line in the menu. The separator is added at the end of the current item list. The submenu path where the separator will be added. Path components are delimited by forward slashes ('/'). Add an item that will execute an action in the drop-down menu. The item is added at the end of the specified index in the list. Index where the item should be inserted. Name of the item. This name will be displayed in the drop-down menu. Callback to execute when the user selects this item in the menu. Callback to execute to determine the status of the item. An object that will be stored in the userData property of the DropdownMenuAction item. This object is accessible through the action callback. Add an item that will execute an action in the drop-down menu. The item is added at the end of the specified index in the list. Index where the item should be inserted. Name of the item. This name will be displayed in the drop-down menu. Callback to execute when the user selects this item in the menu. The status of the item. Add a separator line in the menu. The separator is added at the end of the specified index in the list. The submenu path where the separator is added. Path components are delimited by forward slashes ('/'). Index where the separator should be inserted. Get the list of menu items. The list of items in the menu. Update the status of all items by calling their status callback and remove the separators in excess. This is called just before displaying the menu. Remove the menu item at index. The index of the item to remove. A menu action item. Provides information on the event that triggered the drop-down menu. The name of the item. The name can be prefixed by its submenu path. Path components are delimited by forward slashes ('/'). The status of the item. The userData object stored by the constructor. Status callback that always returns Status.Disabled. Unused parameter. Always return Status.Disabled. Status callback that always returns Status.Enabled. Unused parameter. Always return Status.Enabled. Constructor. The path and name of the menu item. Use the path, delimited by forward slashes ('/'), to place the menu item within a submenu. Action to be executed when the menu item is selected. Function called to determine if the menu item is enabled. An object that will be stored in the userData property. Execute the callback associated with this item. Status of the menu item. The values of this enumeration should be used as flags. The item is displayed with a checkmark. The item is disabled and is not be selectable by the user. The item is not displayed. This flag can be used with other flags. The item is not displayed. This is the default value and represents the absence of flags. The item is displayed normally. Update the status flag of this item by calling the item status callback. Information about the event that triggered the display of the drop-down menu, such as the mouse position or the key pressed. This class provides information about the event that triggered displaying the drop-down menu. If the triggering event was a mouse event, this property is the mouse position. The position is expressed using the coordinate system of the element that received the mouse event. Otherwise this property is zero. If modifier keys (Alt, Ctrl, Shift, Windows/Command) were pressed to trigger the display of the dropdown menu, this property lists the modifier keys. If the triggering event was a mouse event, this property is the mouse position expressed using the global coordinate system. Otherwise this property is zero. Constructor. An item in a drop-down menu. A separator menu item. The submenu path where the separator will be added. Path components are delimited by forward slashes ('/'). Constructor. The path for the submenu. Path components are delimited by forward slashes ('/'). Delegate that can be used as a custom filter for the dynamic atlas. The texture to filter. The filters the dynamic atlas applies when the delegate returns <c>true<c>. by default, this value is equal to <see cref="DynamicAtlasSettings.activeFilters" >. When false, the texture cannot be added to the atlas. When true the texture is added to the atlas, as long as it is not excluded by filtersToApply. Options to enable or disable filters for the dynamic atlas. Excludes textures whose color space does not match the color space of the atlas. Excludes textures that use a filter mode that the atlas does not support.<br ><br > This filter is disabled by default. You can enable it to prevent artifacts that might occur when the atlas does not support the texture's filter mode, and cannot sample the texture correctly. However, because excluding textures from the atlas can reduce performance, the default behavior is preferable in most cases.<br ><br > On GLES3 (and later) devices, the atlas supports more than one filter mode, so you should not need to enable this filter. Excludes textures that, because of their format, would lose precision, or be truncated when the system adds them to the atlas. <br ><br > The dynamic atlas system accepts non-HDR texture formats that have 8 bits or less per component, before compression<br ><br > You can add a compressed texture to a dynamic atlas. However, doing so might cause additional image loss because the system must first decompress the image in order to store it in the atlas. Decompression can yield values that are impossible to represent precisely in 8-bits per component. For example, a value of 1256 in the compressed image might decompress to 3512. The system cannot store 3512 in the atlas, so it stores the value as either 1256 or 2256.<br ><br > This creates potential differences between the source texture and the version stored in the atlas. These differences are noticeable in the following scenarios:<br ><br > 1. Blending Operations: 3512, 1256, and 2256 each produce a different result when you use them in a blending operation. 2. Rendering to high precision render targets (for example, 16 bits per component). In most cases, the performance benefits of allowing compressed textures into the atlas outweigh the inconvenience of introducing small errors. No filtering is performed. Excludes readable textures.<br ><br > Readable textures are textures that are readable from scripts, which means they are also writable or editable. Another way to think of this filter is as a way to exclude textures that are not read-only. Excludes textures whose size exceeds the maximum sub-texture size specified in the dynamic atlas settings. Contains the settings used by the dynamic atlas system. Defines the filters that the dynamic atlas system uses to exclude textures from the texture atlas. When a delegate is assigned, the dynamic atlas system calls it to determine whether or not a texture can be added to the atlas. Default filters for a dynamic atlas. Specifies default values used to initialize the structure. Specifies the maximum size (width/height) of the atlas texture, in pixels. This value must be a power of two, and must be greater than or equal to minAtlasSize. Specifies the maximum size (width/height) of a texture that can be added to the atlas. When activeFilters contains DynamicAtlasFilters.Size, textures larger than this size are excluded from the atlas. Otherwise, this value is not used. Specifies the minimum size (width/height) of the atlas texture, in pixels. This value must be a power of two, and must be greater than 0 and less than or equal to maxAtlasSize. Determines how intermediate values are calculated for a transition. The value of the EasingMode. Creates from a EasingMode. Represents a mathematical function that describes the rate at which a numerical value changes. The base class for all UIElements events. Returns whether this event type bubbles up in the event propagation path. The current target of the event. This is the VisualElement, in the propagation path, for which event handlers are currently being executed. Indicates whether the event is being dispatched to a visual element. An event cannot be redispatched while it being dispatched. If you need to recursively dispatch an event, it is recommended that you use a copy of the event. Retrieves the type ID for this event instance. The IMGUIEvent at the source of this event. The source can be null since not all events are generated by IMGUI. Returns true if the default actions should not be executed for this event. Indicates whether StopImmediatePropagation() was called for this event. Whether StopPropagation() was called for this event. The original mouse position of the IMGUI event, before it is transformed to the current target local coordinates. Whether the event is allocated from a pool of events. The current propagation phase. The target visual element that received this event. Unlike currentTarget, this target does not change when the event is sent to other elements along the propagation path. The time when the event was created. Returns whether this event is sent down the event propagation path during the TrickleDown phase. Implementation of IDisposable. Resets all event members to their initial values. Allows subclasses to perform custom logic after the event has been dispatched. The panel where the event has been dispatched. Allows subclasses to perform custom logic before the event is dispatched. The panel where the event will be dispatched. Indicates whether the default actions are prevented from being executed for this event. Registers an event class to the event type system. The type ID. Immediately stops the propagation of the event. The event isn't sent to other elements along the propagation path. This method prevents other event handlers from executing on the current target. Stops propagating this event. The event is not sent to other elements along the propagation path. This method does not prevent other event handlers from executing on the current target. Generic base class for events, implementing event pooling and automatic registration to the event type system. Retrieves the type ID for this event instance. Implementation of IDispose. Gets an event from the event pool. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An initialized event. Resets all event members to their initial values. Retrieves the type ID for this event instance. The type ID. Defines the structure of a callback that can be registered onto an element for an event type The event instance Defines the structure of a callback that can be registered onto an element for an event type, along with a custom user defined argument. The event instance. The user argument instance. Dispatches events to a IPanel. Gates control when the dispatcher processes events. Constructor. The dispatcher controlled by this gate. Implementation of IDisposable.Dispose. Opens the gate. If all gates are open, events in the queue are processed. The event sent when an element should execute a command. A collection of easing curves to be used with ValueAnimations. Provides helper methods to create transition animations for VisualElement style values Triggers an animation changing this element's layout style values. Triggers an animation changing this element's transform position. Triggers an animation changing this element's transform rotation. Triggers an animation changing this element's transform scale. Triggers an animation changing this element's size style values. Starts a transition animation on this VisualElement. Start value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Start value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Start value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Start value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Start value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Start value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Start value. End value. Duration of the transition in milliseconds. The created animation object. Starts a transition animation on this VisualElement. End value. Duration of the transition in milliseconds. The created animation object. Starts a transition animation on this VisualElement. Callback that provides the initial value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Callback that provides the initial value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Callback that provides the initial value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Callback that provides the initial value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Callback that provides the initial value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Starts a transition animation on this VisualElement. Callback that provides the initial value. End value. Duration of the transition in milliseconds. Callback that applies the interpolated value. The created animation object. Triggers an animation changing this element's positioning style values. Base interface for transition animations. Duration of the transition in milliseconds. Tells if the animation is currently active. Returns this animation object into its object pool. Starts the animation using this object's values. Stops this animation. Container object used to animate multiple style values at once. Background color to paint in the element's box. The radius of the bottom-left corner when a rounded rectangle is drawn in the element's box. The radius of the bottom-right corner when a rounded rectangle is drawn in the element's box. Space reserved for the bottom edge of the border during the layout phase. Color of the border to paint inside the element's box. Space reserved for the left edge of the border during the layout phase. Space reserved for the right edge of the border during the layout phase. The radius of the top-left corner when a rounded rectangle is drawn in the element's box. The radius of the top-right corner when a rounded rectangle is drawn in the element's box. Space reserved for the top edge of the border during the layout phase. Bottom distance from the element's box during layout. Color to use when drawing the text of an element. Specifies how much the item will grow relative to the rest of the flexible items inside the same container. Specifies how the item will shrink relative to the rest of the flexible items inside the same container. Fixed height of an element for the layout. Left distance from the element's box during layout. Space reserved for the bottom edge of the margin during the layout phase. Space reserved for the left edge of the margin during the layout phase. Space reserved for the right edge of the margin during the layout phase. Space reserved for the top edge of the margin during the layout phase. Specifies the transparency of an element. Space reserved for the bottom edge of the padding during the layout phase. Space reserved for the left edge of the padding during the layout phase. Space reserved for the right edge of the padding during the layout phase. Space reserved for the top edge of the padding during the layout phase. Right distance from the element's box during layout. Top distance from the element's box during layout. Tinting color for the element's backgroundImage. Fixed width of an element for the layout. Implementation object for transition animations. Returns true if this animation object will be automatically returned to the instance pool after the animation has completed. Duration of the animation in milliseconds. Smoothing function related to this animation. Default value is Easing.OutQuad. The animation start value. Callback invoked when the from field has not been set, in order to retrieve the starting state of this animation. Value interpolation method. Tells if the animation is currently active. Callback invoked when this animation has completed. The animation end value. Callback invoked after every value interpolation. Creates a new ValueAnimation object or returns an available one from it's instance pool. Constructor. Sets the easing function. Will not return the object to the instance pool when the animation has completed. Sets a callback invoked when this animation has completed. Returns this animation object into its object pool. Starts the animation using this object's values. Stops this animation. Defines the main-axis of the flex layout. Top to Bottom. Bottom to Top. Left to Right. Right to Left. Base class for objects that can get the focus. Return true if the element can be focused. Whether the element should delegate the focus to its children. True if the element can be focused. Return the focus controller for this element. An integer used to sort focusables in the focus ring. Must be greater than or equal to zero. Tell the element to release the focus. Attempt to give the focus to this element. Base class for defining in which direction the focus moves in a focus ring. Last value for the direction defined by this class. The null direction. This is usually used when the focus stays on the same element. Focus came from an unspecified direction, for example after a mouse down. Class in charge of managing the focus inside a Panel. The currently focused VisualElement. Constructor. Event sent immediately after an element has gained focus. This event trickles down, it does not bubble up, and it cannot be cancelled. Base class for focus related events. Direction of the focus change. The focus controller that emitted the event. For FocusOut and Blur events, contains the element that gains the focus. For FocusIn and Focus events, contains the element that loses the focus. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The event target. The related target. The direction of the focus change. The object that manages the focus. An initialized event. Resets the event members to their initial values. Event sent immediately before an element gains focus. This event trickles down and bubbles up. This event cannot be cancelled. Constructor. Resets the event members to their initial values. Event sent immediately before an element loses focus. This event trickles down and bubbles up. This event cannot be cancelled. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. A Foldout control is a collapsible section of a user interface. When toggled, it expands or collapses, which hides or reveals the elements it contains. The USS class name for the Label element in a Foldout. This element contains the elements that are shown or hidden when you toggle the Foldout. The USS class name for the content element in a Foldout. The USS class name for the Label element in a Foldout. This is the text of the toggle's label. The USS class name for the Label element in a Foldout. The USS class name of Toggle sub-elements in Foldout elements. The USS class name for Foldout elements. This is the state of the Foldout's toggle. It is true if the Foldout is open and its contents are visible, and false if the Foldout is closed, and its contents are hidden. Constructs a Foldout element. Sets the value of the Foldout's Toggle sub-element, but does not notify the rest of the hierarchy of the change. The new value of the foldout Instantiates a Foldout using the data from a UXML file. Defines UxmlTraits for the Foldout. Initializes Foldout properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Describes a VisualElement font. Font to use to display text. You cannot set this and FontDefinition.fontAsset at the same time. SDF font to use to display text. You cannot set this and FontDefinition.font at the same time. Create a FontDefinition from Font. The font to use to display text. A new FontDefinition object. Create a FontDefinition from FontAsset. The SDF font to use to display text. A new FontDefinition object. GenericDropdownMenu allows you to display contextual menus with default textual options or any VisualElement. USS class name of separators in elements of this type. USS class name of inner containers in elements of this type. USS class name of outer containers in elements of this type. Returns the content container for the GenericDropdownMenu. Allows users to create their own dropdown menu if they don't want to use the default implementation. USS class name of labels in elements of this type. USS class name of labels in elements of this type. USS class name of separators in elements of this type. USS class name of elements of this type. Adds a disabled item to this menu using a default VisualElement. The text to display to the user. Indicates whether a checkmark next to the item is displayed. Adds an item to this menu using a default VisualElement. The text to display to the user. Indicates whether a checkmark next to the item is displayed. The callback to invoke when the item is selected by the user. Adds an item to this menu using a default VisualElement. The text to display to the user. Indicates whether a checkmark next to the item is displayed. The callback to invoke when the item is selected by the user. The object to pass to the callback as a parameter. Adds a visual separator after the previously added items in this menu. Not used. Initializes and returns an instance of GenericDropdownMenu. Displays the menu at the specified position. The position in the coordinate space of the panel. The element used to determine in which root to parent the menu. Whether the menu should use the width of the position argument instead of its normal width. This event is sent after layout calculations, when the position or the dimension of an element changes. Gets the elements's new dimensions. Gets the element's old dimensions. Constructor. Gets an event from the event pool, and initializes it with the specified values. Use this method instead of instancing new events. Use Dispose() to release events back to the event pool. The old dimensions of the element. The new dimensions of the element. An initialized event. Resets the event values to their initial values. This is an enclosing container for a group of IGroupBoxOption. All group options within this container will interact together to allow a single selection, using the DefaultGroupManager. Default options are RadioButton, but users can provide other implementations. If no IGroupBox is found in the hierarchy, the default container will be the panel. USS class name for Labels in GroupBox elements. The title text of the box. USS class name for GroupBox elements. Creates a GroupBox with no label. Creates a GroupBox with a title. The title text. Instantiates a GroupBox using data from a UXML file. Defines UxmlTraits for the GroupBox. Initializes GroupBox properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Makes a help box with a message to the user. The USS class name for the HelpBoxMessageType.Error state in Elements of this type. The USS class name for the HelpBoxMessageType.Info state in Elements of this type. The USS class name for images in Elements of this type. The USS class name for the HelpBoxMessageType.Warning state in Elements of this type. The USS class name for labels in Elements of this type. The type of message. The message text. The USS class name for Elements of this type. Creates a new HelpBox. Creates a new HelpBox. The message text. The type of message. Instantiates a HelpBox with data from a UXML file. Defines UxmlTraits for the HelpBox. Initializes HelpBox properties with values from an attribute bag. The Element to initialize. The attribute bag. The creation context; unused. User message types. Error message. Info message. Neutral message. Warning message. Interface for all bindable fields. Binding object that will be updated. Path of the target property to be bound. Base interface for Binding objects. Called at regular intervals to synchronize bound properties to their IBindable counterparts. Called before the Update() method. Disconnects the field from its bound property Called at regular intervals to synchronize bound properties to their IBindable counterparts. Called before the Update() method. Extensions methods to provide additional IBindable functionality. Checks if a IBindable is bound to a property. This Bindable object. True if this IBindable is bound to a property. Base interface for ChangeEvent. Interface for Command events. Name of the command. This interface exposes methods to read custom style properties applied from USS files to visual elements. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Gets the value associated with the specified CustomStyleProperty_1. True if the property is found, false if not. Interface for drag and drop events. Interface for class capable of handling events. Handle an event. The event to handle. Returns true if event handlers for the event propagation BubbleUp phase, have been attached on this object. True if object has event handlers for the BubbleUp phase. Returns true if event handlers, for the event propagation TrickleDown phase, are attached to this object. True if the object already has event handlers for the TrickleDown phase. Sends an event to the event handler. The event to send. Give access to UIElement experimental features. Returns the animation experimental interface. Interface for focus events. Direction of the focus change. Related target. See implementation for specific meaning. Interface for classes implementing focus rings. Get the direction of the focus change for the given event. For example, when the Tab key is pressed, focus should be given to the element to the right. Get the next element in the given direction. This interface describes the data used by keyboard events. Gets a boolean value that indicates whether the platform-specific action key is pressed. True means the action key is pressed. False means it isn't. Gets a boolean value that indicates whether the Alt key is pressed. True means the Alt key is pressed. False means it isn't. Gets the character entered. Gets a boolean value that indicates whether the WindowsCmd key is pressed. True means the WindowsCmd key is pressed. False means it isn't. Gets a boolean value that indicates whether the Ctrl key is pressed. True means the Ctrl key is pressed. False means it isn't. The key code. Gets flags that indicate whether modifier keys (Alt, Ctrl, Shift, Windows/Cmd) are pressed. Gets a boolean value that indicates whether the Shift key is pressed. True means the Shift key is pressed. False means it isn't. A VisualElement representing a source texture. The texture to display in this image. ScaleMode used to display the Image. The source rectangle inside the texture relative to the top left corner. The sprite to display in this image. Tinting color for this Image. USS class name of elements of this type. The base texture coordinates of the Image relative to the bottom left corner. The VectorImage to display in this image. Constructor. Instantiates an Image using the data read from a UXML file. Defines UxmlTraits for the Image. Returns an empty enumerable, as images generally do not have children. Interface for Manipulator objects. VisualElement being manipulated. Element that draws IMGUI content. ContextType of this IMGUIContrainer. Currently only supports ContextType.Editor. When this property is set to true, onGUIHandler is not called when the Element is outside the viewport. The function that's called to render and handle IMGUI events. USS class name of elements of this type. Constructor. Constructor. The function assigned to <see cref="onGUIHandler" />. Releases the native memory that this IMGUIContainer instance uses. Marks layout as dirty to trigger a redraw. Instantiates an IMGUIContainer using the data read from a UXML file. Defines UxmlTraits for the IMGUIContainer. Returns an empty enumerable, as IMGUIContainer cannot have VisualElement children. Constructor. Class used to send a IMGUI event that has no equivalent UIElements event. Constructor. Use GetPooled() to get an event from a pool of reusable events. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The IMGUI event used to initialize the event. An initialized event. Resets the event members to their initial values. An interface that allows value fields to visually represent a mixed value. Indicates whether to enable the mixed value state on the value field. VisualElement that can implement custom immediate mode rendering. When this property is set to true, the Element does not repaint itself when it is outside the viewport. Constructor. Invoked during the repaint phase. Interface for mouse capture events. Interface for mouse events. Returns true if the platform-specific action key is pressed. This key is Cmd on macOS, and Ctrl on all other platforms. Return true if the Alt key is pressed. Integer that indicates which mouse button is pressed: 0 is the left button, 1 is the right button, 2 is the middle button. The number of times the button is pressed. Return true if the Windows/Command key is pressed. Return true if the Ctrl key is pressed. The mouse position in the current target coordinate system. Flag set holding the pressed modifier keys (Alt, Ctrl, Shift, Windows/Command). Mouse position difference between the last mouse event and this one. The mouse position in the panel coordinate system. A bitmask that describes the currently pressed buttons. Return true if the Shift key is pressed. Interface for all navigation events. Interface for controls that hold a value and can notify when it is changed by user input. The value the control holds. Sets the value and, even if different, doesn't notify registers callbacks with a ChangeEvent_1 The new value to be set. INotifyValueChangedExtensions is a set of extension methods useful for objects implementing INotifyValueChanged_1. Registers this callback to receive ChangeEvent_1 when the value is changed. Unregisters this callback from receiving ChangeEvent_1 when the value is changed. Sends an event when text from a TextField changes. The new text. The text before the change occured. Constructor. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The text before the change occured. The new text. An initialized event. Resets the event members to their initial values. Interface for classes implementing UI panels. Describes in which context a VisualElement hierarchy is being ran. The Contextual menu manager for the panel. This Panel EventDispatcher. Return the focus controller for this panel. Root of the VisualElement hierarchy. Returns the top element at this position. Will not return elements with pickingMode set to PickingMode.Ignore. World coordinates. Top VisualElement at the position. Null if none was found. Returns all elements at this position. Will not return elements with pickingMode set to PickingMode.Ignore. World coordinates. All Visualelements overlapping this position. Top VisualElement at the position. Null if none was found. Interface for panel change events. Interface for pointer capture events and mouse capture events. This interface describes properties available to pointer events. Gets a boolean value that indicates whether the platform-specific action key is pressed. True means the action key is pressed. False means it isn't. Gets the angle of the stylus relative to the surface, in radians Gets a boolean value that indicates whether the Alt key is pressed. True means the Alt key is pressed. False means it isn't. Gets the angle of the stylus relative to the x-axis, in radians. Gets a value that indicates which mouse button was pressed: 0 is the left button, 1 is the right button, 2 is the middle button. Gets the number of times the button was pressed. Gets a boolean value that indicates whether the WindowsCmd key is pressed. True means the WindowsCmd key is pressed. False means it isn't. Gets a boolean value that indicates whether the Ctrl key is pressed. True means the Ctrl key is pressed. False means it isn't. Gets the difference between the pointer's position during the previous mouse event and its position during the current mouse event. Gets the amount of time that has elapsed since the last recorded change in pointer values, in seconds. Gets a boolean value that indicates whether the pointer is a primary pointer. True means the pointer is a primary pointer. False means it isn't. Gets the pointer position in the current target's coordinate system. Gets flags that indicate whether modifier keys (Alt, Ctrl, Shift, Windows/Cmd) are pressed. Gets the identifier of the pointer that sends the event. Gets the type of pointer that created the event. Gets the pointer position in the Screen or World coordinate system. Gets a bitmask that describes the buttons that are currently pressed. Gets the amount of pressure currently applied by a touch. Gets an estimate of the radius of a touch. Gets the accuracy of the touch radius. Gets a boolean value that indicates whether the Shift key is pressed. True means the Shift key is pressed. False means it isn't. Gets the pressure applied to an additional pressure-sensitive control on the stylus. Gets the rotation of the stylus around its axis, in radians. Style values after layout pass. Alignment of the whole area of children on the cross axis if they span over multiple lines in this container. Alignment of children on the cross axis of this container. Similar to align-items, but only for this specific element. Background color to paint in the element's box. Background image to paint in the element's box. Color of the element's bottom border. The radius of the bottom-left corner when a rounded rectangle is drawn in the element's box. The radius of the bottom-right corner when a rounded rectangle is drawn in the element's box. Space reserved for the bottom edge of the border during the layout phase. Color of the element's left border. Space reserved for the left edge of the border during the layout phase. Color of the element's right border. Space reserved for the right edge of the border during the layout phase. Color of the element's top border. The radius of the top-left corner when a rounded rectangle is drawn in the element's box. The radius of the top-right corner when a rounded rectangle is drawn in the element's box. Space reserved for the top edge of the border during the layout phase. Bottom distance from the element's box during layout. Color to use when drawing the text of an element. Defines how an element is displayed in the layout. Initial main size of a flex item, on the main flex axis. The final layout might be smaller or larger, according to the flex shrinking and growing determined by the other flex properties. Direction of the main axis to layout children in a container. Specifies how the item will shrink relative to the rest of the flexible items inside the same container. Specifies how the item will shrink relative to the rest of the flexible items inside the same container. Placement of children over multiple lines if not enough space is available in this container. Font size to draw the element's text. Fixed height of an element for the layout. Justification of children on the main axis of this container. Left distance from the element's box during layout. Increases or decreases the space between characters. Space reserved for the bottom edge of the margin during the layout phase. Space reserved for the left edge of the margin during the layout phase. Space reserved for the right edge of the margin during the layout phase. Space reserved for the top edge of the margin during the layout phase. Maximum height for an element, when it is flexible or measures its own size. Maximum width for an element, when it is flexible or measures its own size. Minimum height for an element, when it is flexible or measures its own size. Minimum width for an element, when it is flexible or measures its own size. Specifies the transparency of an element. Space reserved for the bottom edge of the padding during the layout phase. Space reserved for the left edge of the padding during the layout phase. Space reserved for the right edge of the padding during the layout phase. Space reserved for the top edge of the padding during the layout phase. Element's positioning in its parent container. Right distance from the element's box during layout. A rotation transformation. A scaling transformation. The element's text overflow mode. Top distance from the element's box during layout. The transformation origin is the point around which a transformation is applied. Duration to wait before starting a property's transition effect when its value changes. Time a transition animation should take to complete. Properties to which a transition effect should be applied. Determines how intermediate values are calculated for properties modified by a transition effect. A translate transformation. Tinting color for the element's backgroundImage. Background image scaling in the element's box. Font to draw the element's text. Font to draw the element's text. Font style and weight (normal, bold, italic) to draw the element's text. Increases or decreases the space between paragraphs. Size of the 9-slice's bottom edge when painting an element's background image. Size of the 9-slice's left edge when painting an element's background image. Size of the 9-slice's right edge when painting an element's background image. Size of the 9-slice's top edge when painting an element's background image. Horizontal and vertical text alignment in the element's box. Outline color of the text. Outline width of the text. The element's text overflow position. Specifies whether or not an element is visible. Word wrapping over multiple lines if not enough space is available to draw the text of an element. Fixed width of an element for the layout. Increases or decreases the space between words. This interface provides access to a VisualElement inline style data. Alignment of the whole area of children on the cross axis if they span over multiple lines in this container. Alignment of children on the cross axis of this container. Similar to align-items, but only for this specific element. Background color to paint in the element's box. Background image to paint in the element's box. Color of the element's bottom border. The radius of the bottom-left corner when a rounded rectangle is drawn in the element's box. The radius of the bottom-right corner when a rounded rectangle is drawn in the element's box. Space reserved for the bottom edge of the border during the layout phase. Color of the element's left border. Space reserved for the left edge of the border during the layout phase. Color of the element's right border. Space reserved for the right edge of the border during the layout phase. Color of the element's top border. The radius of the top-left corner when a rounded rectangle is drawn in the element's box. The radius of the top-right corner when a rounded rectangle is drawn in the element's box. Space reserved for the top edge of the border during the layout phase. Bottom distance from the element's box during layout. Color to use when drawing the text of an element. Mouse cursor to display when the mouse pointer is over an element. Defines how an element is displayed in the layout. Initial main size of a flex item, on the main flex axis. The final layout might be smaller or larger, according to the flex shrinking and growing determined by the other flex properties. Direction of the main axis to layout children in a container. Specifies how the item will shrink relative to the rest of the flexible items inside the same container. Specifies how the item will shrink relative to the rest of the flexible items inside the same container. Placement of children over multiple lines if not enough space is available in this container. Font size to draw the element's text. Fixed height of an element for the layout. Justification of children on the main axis of this container. Left distance from the element's box during layout. Increases or decreases the space between characters. Space reserved for the bottom edge of the margin during the layout phase. Space reserved for the left edge of the margin during the layout phase. Space reserved for the right edge of the margin during the layout phase. Space reserved for the top edge of the margin during the layout phase. Maximum height for an element, when it is flexible or measures its own size. Maximum width for an element, when it is flexible or measures its own size. Minimum height for an element, when it is flexible or measures its own size. Minimum width for an element, when it is flexible or measures its own size. Specifies the transparency of an element. How a container behaves if its content overflows its own box. Space reserved for the bottom edge of the padding during the layout phase. Space reserved for the left edge of the padding during the layout phase. Space reserved for the right edge of the padding during the layout phase. Space reserved for the top edge of the padding during the layout phase. Element's positioning in its parent container. Right distance from the element's box during layout. A rotation transformation. A scaling transformation. The element's text overflow mode. Drop shadow of the text. Top distance from the element's box during layout. The transformation origin is the point around which a transformation is applied. Duration to wait before starting a property's transition effect when its value changes. Time a transition animation should take to complete. Properties to which a transition effect should be applied. Determines how intermediate values are calculated for properties modified by a transition effect. A translate transformation. Tinting color for the element's backgroundImage. Background image scaling in the element's box. Font to draw the element's text. Font to draw the element's text. Font style and weight (normal, bold, italic) to draw the element's text. Specifies which box the element content is clipped against. Increases or decreases the space between paragraphs. Size of the 9-slice's bottom edge when painting an element's background image. Size of the 9-slice's left edge when painting an element's background image. Size of the 9-slice's right edge when painting an element's background image. Size of the 9-slice's top edge when painting an element's background image. Horizontal and vertical text alignment in the element's box. Outline color of the text. Outline width of the text. The element's text overflow position. Specifies whether or not an element is visible. Word wrapping over multiple lines if not enough space is available to draw the text of an element. Fixed width of an element for the layout. Increases or decreases the space between words. This interface provides access to a VisualElement transform data. Transformation matrix calculated from the position, rotation and scale of the transform (Read Only). The position of the VisualElement transform. The rotation of the VisualElement transform stored as a Quaternion. The scale of the VisualElement transform. Interface for all transition events. The number of seconds the transition has been running, excluding delay phase time. The names of the properties associated with the transition. This type allows UXML attribute value retrieval during the VisualElement instantiation. An instance will be provided to the factory method - see UXMLFactoryAttribute. Get the value of an attribute as a string. Attribute name. The attribute value or null if not found. True if the attribute was found, false otherwise. Interface for UXML factories. While it is not strictly required, concrete factories should derive from the generic class UxmlFactory. Must return true if the UXML element attributes are not restricted to the values enumerated by uxmlAttributesDescription. The type of element for which this element type can substitute for. The UXML namespace for the type returned by substituteForTypeName. The fully qualified XML name for the type returned by substituteForTypeName. Describes the UXML attributes expected by the element. The attributes enumerated here will appear in the UXML schema. Describes the types of element that can appear as children of this element in a UXML file. The name of the UXML element read by the factory. The namespace of the UXML element read by the factory. The fully qualified name of the UXML element read by the factory. Returns true if the factory accepts the content of the attribute bag. The attribute bag. True if the factory accepts the content of the attribute bag. False otherwise. Instantiate and initialize an object of type T0. A bag of name-value pairs, one for each attribute of the UXML element. This can be used to initialize the properties of the created object. When the element is created as part of a template instance inserted in another document, this contains information about the insertion point. The created object. Represents a scheduled task created with a VisualElement's schedule interface. Returns the VisualElement this object is associated with. Will be true when this item is scheduled. Note that an item's callback will only be executed when it's VisualElement is attached to a panel. Repeats this action after a specified time. Minimum amount of time in milliseconds between each action execution. This ScheduledItem. Cancels any previously scheduled execution of this item and re-schedules the item. Minimum time in milliseconds before this item will be executed. After specified duration, the item will be automatically unscheduled. The total duration in milliseconds where this item will be active. This ScheduledItem. Removes this item from its VisualElement's scheduler. If not already active, will schedule this item on its VisualElement's scheduler. Adds a delay to the first invokation. The minimum number of milliseconds after activation where this item's action will be executed. This ScheduledItem. Item will be unscheduled automatically when specified condition is met. When condition returns true, the item will be unscheduled. This ScheduledItem. A scheduler allows you to register actions to be executed at a later point. Schedule this action to be executed later. The action to be executed. Reference to the scheduled action. Schedule this action to be executed later. The action to be executed. Reference to the scheduled action. Defines the alignment along the main axis, how is extra space distributed. Items are centered along the line. Items are packed toward the end line. Items are packed toward the start line. Default Value. Items are evenly distributed in the line with equal space around them. Items are evenly distributed in the line; first item is on the start line, last item on the end line. This is the base class for keyboard events. Gets a boolean value that indicates whether the platform-specific action key is pressed. True means the action key is pressed. False means it isn't. Gets a boolean value that indicates whether the Alt key is pressed. True means the Alt key is pressed. False means it isn't. Gets the character entered. Gets a boolean value that indicates whether the WindowsCmd key is pressed. True means the WindowsCmd key is pressed. False means it isn't. Gets a boolean value that indicates whether the Ctrl key is pressed. True means the Ctrl key is pressed. False means it isn't. The key code. Gets flags that indicate whether modifier keys (Alt, Ctrl, Shift, Windows/Cmd) are pressed. Gets a boolean value that indicates whether the Shift key is pressed. True means the Shift key is pressed. False means it isn't. Gets a keyboard event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The character for this event. The key code for this event. Event modifier keys that are active for this event. An initialized event. Gets a keyboard event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. A keyboard IMGUI event. An initialized event. Resets the event members to their initial values. Provides a default implementation for translating input device specific events to higher level navigation operations as commonly possible with a keyboard. Initializes and returns an instance of KeyboardNavigationManipulator, configured to invoke the specified callback. This action is invoked when specific low level events are dispatched to the target <see cref="VisualElement" >, with a specific value of <see cref="KeyboardNavigationOperation" > and a reference to the original low level event. Represents an operation that the user is trying to accomplish through a specific input mechanism. Selects the first element. Cancels the current UI interaction. Selects the last element. Selects the next item. Default value. Indicates an uninitialized enum value. Moves the selection down one page (in a list which has scrollable area). Moves the selection up one page (in a list which has scrollable area). Selects the previous item. Selects all UI selectable elements or text. Submits or concludes the current UI interaction. This event is sent when a key is pressed. This event is sent when a pressed key is released. Provides an Element displaying text. USS class name of elements of this type. Constructs a label. Constructs a label. The text to be displayed. Instantiates a Label using the data read from a UXML file. Defines UxmlTraits for the Label. Represents a distance value. The unit of the value property. The length value. Creates from a float and an optional LengthUnit. Creates from a float and an optional LengthUnit. Creates a percentage Length from a float. The created length. Describes how to interpret a Length value. Interprets length as a percentage. Interprets length as pixel. A ListView is a vertically scrollable area that links to, and displays, a list of items. The USS class name for the size field of the ListView when foldout header is enabled. The USS class name for label displayed when ListView is empty. The USS class name for the foldout header of the ListView. The USS class name for the footer of the ListView. This property controls the text of the foldout header when using showFoldoutHeader. This event is called for every item added to the itemsSource. Includes the item index. This event is called for every item added to the itemsSource. Includes the item index. The USS class name of item elements in ListView elements. The USS class name for ListView when add/remove footer is enabled. The USS class name for ListView when foldout header is enabled. The USS class name for item container in reorderable animated ListView. The USS class name for drag handle bar in reorderable animated ListView. The USS class name for drag handle in reorderable animated ListView. The USS class name for item elements in reorderable animated ListView. The USS class name for reorderable animated ListView elements. This property controls the drag and drop mode for the list view. The USS class name for scroll view when add/remove footer is enabled. This property controls whether a footer will be added to the list view. This property controls whether the list view displays the collection size (number of items). This property controls whether the list view will display a header, in the form of a foldout that can be expanded or collapsed. The USS class name for ListView elements. Creates a ListView with all default properties. The ListView.itemSource must all be set for the ListView to function properly. Constructs a ListView, with all important properties provided. The list of items to use as a data source. The height of each item, in pixels. The factory method to call to create a display item. The method should return a VisualElement that can be bound to a data item. The method to call to bind a data item to a display item. The method receives as parameters the display item to bind, and the index of the data item to bind it to. Instantiates a ListView using data from a UXML file. Defines UxmlTraits for the ListView. Returns an empty enumerable, because list views usually do not have child elements. An empty enumerable. Initializes ListView properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Options to change the drag and drop mode for items in the ListView. ListView will add drag handles before every item, that can be used to drag a single item with animated visual feedback. ListView will display the standard blue line dragger on reorder. Base class for all Manipulator implementations. VisualElement being manipulated. Called to register event callbacks on the target element. Called to unregister event callbacks from the target element. Used by manipulators to match events against their requirements. The button that activates the manipulation. Number of mouse clicks required to activate the manipulator. Any modifier keys (ie. ctrl, alt, ...) that are needed to activate the manipulation. Checks whether the current mouse event satisfies the activation requirements. The mouse event. True if the event matches the requirements. False otherwise. Checks whether the current mouse event satisfies the activation requirements. The mouse event. True if the event matches the requirements. False otherwise. Provides methods for generating a VisualElement's visual content during the generateVisualContent callback. The element for which VisualElement.generateVisualContent was invoked. Allocates the specified number of vertices and indices required to express geometry for drawing the content of a VisualElement. The number of vertices to allocate. The maximum is 65535 (or UInt16.MaxValue). The number of triangle list indices to allocate. Each 3 indices represent one triangle, so this value should be multiples of 3. An optional texture to be applied on the triangles allocated. Pass null to rely on vertex colors only. An object that gives access to the newely allocated data. If the returned vertex count is 0, then allocation failed (the system ran out of memory). A class that represents the vertex and index data allocated for drawing the content of a VisualElement. The number of indices successfully allocated for VisualElement content drawing. A rectangle describing the UV region holding the texture passed to MeshGenerationContext.Allocate. The number of vertices successfully allocated for VisualElement content drawing. Fills the values of the allocated indices with values copied directly from an array. Each 3 consecutive indices form a single triangle. The array of indices to copy from. The length of the array must match the allocated index count. Fills the values of the allocated indices with values copied directly from an array. Each 3 consecutive indices form a single triangle. The array of indices to copy from. The length of the array must match the allocated index count. Fills the values of the allocated vertices with values copied directly from an array. When this method is called, it is not possible to use SetNextVertex to fill the allocated vertices array. The array of vertices to copy from. The length of the array must match the allocated vertex count. Fills the values of the allocated vertices with values copied directly from an array. When this method is called, it is not possible to use SetNextVertex to fill the allocated vertices array. The array of vertices to copy from. The length of the array must match the allocated vertex count. Assigns the value of the next index of the allocated indices list. The value of the next index. Assigns the value of the next vertex of the allocated vertices list. The value of the next vertex. A min/max slider containing a representation of a range. USS class name of dragger elements in elements of this type. This is the high limit of the slider. USS class name of input elements in elements of this type. USS class name of labels in elements of this type. This is the low limit of the slider. USS class name of the maximum thumb elements in elements of this type. This is the high value of the range represented on the slider. USS class name of the minimum thumb elements in elements of this type. This is the low value of the range represented on the slider. Returns the range of the low/high limits of the slider. USS class name of tracker elements in elements of this type. USS class name of elements of this type. This is the value of the slider. This is a Vector2 where the x is the lower bound and the y is the higher bound. Constructor. Constructor. The minimum value in the range to be represented. The maximum value in the range to be represented. The minimum value of the slider limit. The maximum value of the slider limit. Constructor. The minimum value in the range to be represented. The maximum value in the range to be represented. The minimum value of the slider limit. The maximum value of the slider limit. Instantiates a MinMaxSlider using the data read from a UXML file. Defines UxmlTraits for the MinMaxSlider. Initialize MinMaxSlider properties using values from the attribute bag. The element to initialize. The bag of attributes. Creation Context, unused. Describes a MouseButton. The Left Mouse Button. The Middle Mouse Button. The Right Mouse Button. Class that manages capturing mouse events. Assigns an event handler to capture mouse events. The event handler that captures mouse events. Checks if the event handler is capturing the mouse. Event handler to check. True if the handler captures the mouse. Checks if there is a handler capturing the mouse. True if a handler is capturing the mouse, false otherwise. Stops an event handler from capturing the mouse. The event handler to stop capturing the mouse. If this handler is not assigned to capturing the mouse, nothing happens. Stops an event handler from capturing the mouse. Event sent after a handler starts capturing the mouse. Event sent when the handler capturing the mouse changes. In the case of a MouseCaptureEvent, this property is the IEventHandler that loses the capture. In the case of a MouseCaptureOutEvent, this property is the IEventHandler that gains the capture. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The handler taking or releasing the mouse capture. The related target. An initialized event. Resets the event members to their initial values. Event sent before a handler stops capturing the mouse. This event is sent when a mouse button is pressed. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI mouse event. An initialized event. Resets the event members to their initial values. Event sent when the mouse pointer enters an element or one of its descendent elements. The event is cancellable, it does not trickle down, and it does not bubble up. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. Event sent when the mouse pointer enters a window. The event is cancellable, it does not trickle down, and it does not bubble up. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. The base class for mouse events. Returns true if the platform-specific action key is pressed. This key is Cmd on macOS, and Ctrl on all other platforms. Returns true if the Alt key is pressed. Integer that indicates which mouse button is pressed: 0 is the left button, 1 is the right button, 2 is the middle button. The number of times the button is pressed. Returns true if the Windows/Cmd key is pressed. Returns true if the Ctrl key is pressed. The current target of the event. The current target is the element in the propagation path for which event handlers are currently being executed. The mouse position in the current target coordinate system. Flags that hold pressed modifier keys (Alt, Ctrl, Shift, Windows/Cmd). The difference of the mouse position between the previous mouse event and the current mouse event. The mouse position in the screen coordinate system. A bitmask that describes the currently pressed buttons. Returns true if the Shift key is pressed. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI mouse event. An initialized event. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The mouse position. The mouse button pressed. The number of consecutive mouse clicks received. The relative movement of the mouse compared to the mouse position when the last event was received. The modifier keys held down during the event. An initialized event. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The event that sent this event. An initialized event. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The pointer event that sent this event. An initialized event. Resets the event members to their initial values. Event sent when the mouse pointer exits an element and all its descendent elements. The event is cancellable, it does not trickle down, and it does not bubble up. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. Event sent when the mouse pointer exits a window. The event is cancellable, it does not trickle down, and it does not bubble up. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI MouseLeaveWindow event. An initialized event. Resets the event members to their initial values. MouseManipulators have a list of activation filters. List of Activationfilters. Checks whether MouseEvent satisfies all of the ManipulatorActivationFilter requirements. The MouseEvent to validate. True if the event satisfies the requirements. False otherwise. Checks whether the MouseEvent is related to this Manipulator. MouseEvent to validate. True if MouseEvent uses the current activator button. False otherwise. This event is sent when the mouse moves. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI mouse event. An initialized event. Resets the event members to their initial values. Event sent when the mouse pointer exits an element. The event trickles down, it bubbles up, and it is cancellable. Event sent when the mouse pointer enters an element. The event trickles down, it bubbles up, and it is cancellable. This event is sent when a mouse button is released. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI mouse event. An initialized event. Resets the event members to their initial values. Event sent when the user presses the cancel button. Navigation events abstract base class. By default, navigation events trickle down and bubble up. They are cancellable, and disabled elements won't receive these events. Event typically sent when the user presses the D-pad, moves a joystick or presses the arrow keys. The direction of the navigation. The move vector. Constructor. Move event direction. Downo. Lefto. No specific direction. Righto. Upo. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained from this method should be released back to the pool using Dispose(). The move vector. An initialized navigation event. Initialize the event members. Event sent when the user presses the submit button. Defines what should happend if content overflows an element bounds. The overflow is clipped, and the rest of the content will be invisible. The overflow is not clipped. It renders outside the element's box. Default Value. Boxes against which the VisualElement content is clipped. Clip the content against the box inside the padding areas. Clip the content against the box outside the padding areas but inside the borders. Abstract base class for events notifying of a panel change. In the case of AttachToPanelEvent, the panel to which the event target element is now attached. In the case of DetachFromPanelEvent, the panel to which the event target element will be attached. In the case of AttachToPanelEvent, the panel to which the event target element was attached. In the case of DetachFromPanelEvent, the panel from which the event target element is detached. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. Sets the originPanel property of the event. Sets the destinationPanel property of the event. An initialized event. Resets the event members to their initial values. Options that specify how elements in the panel scale when the screen size changes. See PanelSettings.scaleMode. Elements stay the same physical size (displayed size) regardless of screen size and resolution. Elements stay the same size, in pixels, regardless of screen size. Elements get bigger when the screen size increases, and smaller when it decreases. Options that specify how to scale the panel area when the aspect ratio of the current screen resolution does not match the reference resolution. See PanelSettings.screenMatchMode. Expand the panel area horizontally or vertically so the panel size is never smaller than the reference resolution. Scales the panel area using width, height, or a mix of the two as a reference. Crops the panel area horizontally or vertically so the panel size never exceeds the reference resolution. Defines a Panel Settings asset that instantiates a panel at runtime. The panel makes it possible for Unity to display UXML-file based UI in the Game view. Determines whether the color buffer is cleared before the panel is rendered. Determines whether the depth/stencil buffer is cleared before the panel is rendered. The color used to clear the color buffer. The depth used to clear the depth/stencil buffer. Settings of the dynamic atlas. The DPI value that Unity uses when it cannot determine the screen DPI. Determines whether Unity uses width, height, or a mix of the two as a reference when it scales the panel area. The DPI that the UI is designed for. The resolution the UI is designed for. A uniform scaling factor that Unity applies to elements in the panel before the panel transform. Determines how elements in the panel scale when the screen size changes. Specifies how to scale the panel area when the aspect ratio of the current resolution does not match the reference resolution. When the Scene uses more than one panel, this value determines where this panel appears in the sorting order relative to other panels. When the Scene uses more than one panel, this value determines where this panel appears in the sorting order relative to other panels. Specifies a Render Texture to render the panel's UI on. Specifies a PanelTextSettings that will be used by every UI Document attached to the panel. Specifies a style sheet that Unity applies to every UI Document attached to the panel. Sets the function that handles the transformation from screen space to panel space. For overlay panels, this function returns the input value. The translation function. Set to null to revert to the default behavior. Represents text rendering settings for a specific UI panel. PanelSettings.textSettings Describes the picking behavior. Disables picking. Picking enabled. Default Value. This event is sent when pointer interaction is cancelled. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. Event sent when a pointer is captured by a VisualElement. Base class for pointer capture events and mouse capture events. Identifies the pointer that sends the event. For PointerCaptureEvent and MouseCaptureEvent, returns the VisualElement that loses the pointer capture, if any. For PointerCaptureOutEvent and MouseCaptureOutEvent, returns the VisualElement that captures the pointer. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. For PointerCapture and MouseCapture events, the element that captures the pointer. For PointerCaptureOut and MouseCaptureOut events, the element that releases the pointer. For PointerCaptureEvent and MouseCaptureEvent, returns the element that loses the pointer capture, if any. For PointerCaptureOutEvent and MouseCaptureOutEvent, returns the element that captures the pointer. The pointer that is captured or released. An initialized event. Resets the event members to their initial values. A static class to capture and release pointers. Captures the pointer. The VisualElement that captures the pointer. The pointer to capture. Returns the element that is capturing the pointer. The panel that holds the element. The captured pointer. The element that is capturing the pointer. Tests whether the element has captured the pointer. The VisualElement being tested. The captured pointer. True if element captured the pointer. Tests whether an element captured a pointer and, if so, tells the element to release the pointer. The element which potentially captured the pointer. The captured pointer. Releases the pointer. The panel that holds the element that captured the pointer. The captured pointer. Event sent when a VisualElement releases a pointer. This event is sent when a pointer is pressed. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. This event is sent when a pointer enters a VisualElement or one of its descendants. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. This is the base class for pointer events. Gets a boolean value that indicates whether the platform-specific action key is pressed. True means the action key is pressed. False means it isn't. Gets the angle of the stylus relative to the surface, in radians Gets a boolean value that indicates whether the Alt key is pressed. True means the Alt key is pressed. False means it isn't. Gets the angle of the stylus relative to the x-axis, in radians. Gets a value that indicates which mouse button was pressed: 0 is the left button, 1 is the right button, 2 is the middle button. Gets the number of times the button was pressed. Gets a boolean value that indicates whether the WindowsCmd key is pressed. True means the WindowsCmd key is pressed. False means it isn't. Gets a boolean value that indicates whether the Ctrl key is pressed. True means the Ctrl key is pressed. False means it isn't. Gets the current target of the event. Gets the difference between the pointer's position during the previous mouse event and its position during the current mouse event. Gets the amount of time that has elapsed since the last recorded change in pointer values, in seconds. Gets a boolean value that indicates whether the pointer is a primary pointer. True means the pointer is a primary pointer. False means it isn't. Gets the pointer position in the current target's coordinate system. Gets flags that indicate whether modifier keys (Alt, Ctrl, Shift, Windows/Cmd) are pressed. Gets the identifier of the pointer that sent the event. Gets the type of pointer that created the event. Gets the pointer position in the Screen or World coordinate system. Gets a bitmask that describes the buttons that are currently pressed. Gets the amount of pressure currently applied by a touch. Gets an estimate of the radius of a touch. Gets the accuracy of the touch radius. Gets a boolean value that indicates whether the Shift key is pressed. True means the Shift key is pressed. False means it isn't. Gets the pressure applied to an additional pressure-sensitive control on the stylus. Gets the rotation of the stylus around its axis, in radians. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. An IMGUI mouse event. An initialized event. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. A <see cref="Touch" /> structure from the InputManager. The modifier keys held down during the event. An initialized event. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. The event that sent this event. An initialized event. Resets the event members to their initial values. A static class that holds pointer ID values. Represents an invalid pointer ID value. The maximum number of pointers the implementation supports. The mouse pointer ID. The number of pen pointers the implementation supports. The base ID for pen pointers. The number of touch pointers the implementation supports. The base ID for touch pointers. This event is sent when a pointer exits an element and all of its descendants. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. PointerManipulators have a list of activation filters. Checks whether PointerEvent satisfies all of the ManipulatorActivationFilter requirements. The PointerEvent to validate. True if the event satisfies the requirements. False otherwise. Checks whether the PointerEvent is related to this Manipulator. PointerEvent to validate. True if PointerEvent uses the current activator button. False otherwise. This event is sent when a pointer changes state. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. This event is sent when a pointer exits an element. This event is sent when a pointer enters an element. This event is sent when a pointer does not change for a set amount of time, determined by the operating system. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. A static class that holds pointer type values. The pointer type for mouse events. The pointer type for pen events. The pointer type for touch events. The pointer type for events created by unknown devices. This event is sent when a pointer's last pressed button is released. Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances. Resets the event members to their initial values. Styled visual element that matches the EditorGUILayout.Popup IMGUI element. USS class name of content elements in elements of this type. USS class name of elements of this type. Initializes and returns an instance of PopupWindow. Instantiates a PopupWindow using the data read from a UXML file. Defines UxmlTraits for the PopupWindow. Returns an empty enumerable, as popup windows generally do not have children. Defaines how the position values are interpreted by the layout engine. The element is positioned in relation to its parent box and does not contribute to the layout anymore. The element is positioned in relation to its default box as calculated by layout. A control that displays the progress between a lower and upper bound value. The propagation phases of an event. The event is sent to the target. The event is sent from the target element's parent back to the panel's root element. The event is sent to the target element, which can then execute its final default actions for the event. Event handlers do not receive the event in this phase. Instead, ExecuteDefaultAction is called on the target element. The event is sent to the target element, which can then execute its default actions for the event at the target phase. Event handlers do not receive the event in this phase. Instead, ExecuteDefaultActionAtTarget is called on the target element. The event is not propagated. The event is sent from the panel's root element to the target element's parent. A control that allows users to select a single option inside a RadioButtonGroup USS class name of checkmark background in RadioButton elements. USS class name of checkmark in RadioButton elements. USS class name of input elements in RadioButton elements. USS class name for Labels in RadioButton elements. USS class name of Text elements in RadioButton elements. USS class name for RadioButton elements. Creates a RadioButton with no label. Creates a RadioButton with a Label and a default manipulator. The Label text. Instantiates a RadioButton using data from a UXML file. Defines UxmlTraits for the RadioButton. Initializes RadioButton properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. A control that allows single selection out of a logical group of RadioButton elements. Selecting one will deselect the others. The list of available choices in the group. USS class name for RadioButtonGroup elements. Initializes and returns an instance of RadioButtonGroup. Initializes and returns an instance of RadioButtonGroup. The label for this group The choices to display in this group Instantiates a RadioButtonGroup using data from a UXML file. Defines UxmlTraits for the RadioButtonGroup. Initializes RadioButtonGroup properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. A button that executes an action repeatedly while it is pressed. USS class name of elements of this type. Constructor. Constructor. The action to execute when the button is pressed. The initial delay before the action is executed for the first time. The interval between each execution of the action. Set the action that should be executed when the button is pressed. The action to execute. The initial delay before the action is executed for the first time. The interval between each execution of the action. Instantiates a RepeatButton using the data read from a UXML file. Defines UxmlTraits for the RepeatButton. Initialize RepeatButton properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Provides rotation information for visual elements that rotates around the TransformOrigin. Positive values represent clockwise rotation. The angle applied by the rotation. Positive values represent clockwise rotation and negative values represent counterclockwise rotation. Create a Rotate struct that correspond to a rotation around the z axis by the provided Angle. Return a value of Rotate that applies no rotation A collection of static methods that provide simple World, Screen, and Panel coordinate transformations. Transforms a world absolute position to its equivalent local coordinate on given panel, using provided camera for internal WorldToScreen transformation. <param name="panel">The local coordinates reference panel.<param> <param name="worldPosition">The world position to transform.<param> <param name="camera">The Camera used for internal WorldToScreen transformation.<param> <returns>A position in panel coordinates that corresponds to the provided world position.<returns> Transforms a world position and size (in world units) to their equivalent local position and size on given panel, using provided camera for internal WorldToScreen transformation. <param name="panel">The local coordinates reference panel.<param> <param name="worldPosition">The world position to transform.<param> <param name="worldSize">The world size to transform. The object in the panel will appear to have that size when compared to other 3D objects at neighboring positions.<param> <param name="camera">The Camera used for internal WorldToScreen transformation.<param> <returns>A (position, size) Rect in panel coordinates that corresponds to the provided world position and size.</returns> Resets the dynamic atlas of the panel. Textured elements will be repainted. Transforms a screen absolute position to its equivalent local coordinate on given panel. <param name="panel">The local coordinates reference panel.<param> <param name="screenPosition">The screen position to transform.<param> <returns>A position in panel coordinates that corresponds to the provided screen position.</returns> Notifies the dynamic atlas of the panel that the content of the provided texture has changed. If the dynamic atlas contains the texture, it will update it. The current panel The texture whose content has changed. Reprensents the scale applied as an element's transformations. The center point that will not move when the scaling is applied is the TransformOrigin. Returns a value of Scale without any scaling applied. A vertical or horizontal scrollbar. Direction of this scrollbar. Top or right scroll button. USS class name of high buttons in elements of this type. Maximum value. USS class name of elements of this type, when they are displayed horizontally. Bottom or left scroll button. USS class name of low buttons in elements of this type. Minimum value. The slider used by this scroller. USS class name of slider elements in elements of this type. USS class name of elements of this type. Value that defines the slider position. It lies between lowValue and highValue. Event sent when the slider value has changed. USS class name of elements of this type, when they are displayed vertically. Updates the slider element size as a ratio of total range. A value greater than 1 will disable the Scroller. Slider size ratio. Constructor. Constructor. Will change the value according to the current slider pageSize. Will change the value according to the current slider pageSize. Will change the value according to the current slider pageSize. Will change the value according to the current slider pageSize. Instantiates a Scroller using the data read from a UXML file. Defines UxmlTraits for the Scroller. Returns an empty enumerable, as scrollers do not have children. Initialize Scroller properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Options for controlling the visibility of scroll bars in the ScrollView. The scroll bar is always visible. Displays a scroll bar only if the content does not fit in the scroll view. Otherwise, hides the scroll bar. The scroll bar is always hidden. Displays its contents inside a scrollable frame. USS class name of content elements in elements of this type. Contains full content, potentially partially visible. USS class name of content elements in elements of this type. Represents the visible part of contentContainer. The amount of elasticity to use when a user tries to scroll past the boundaries of the scroll view. This property is controlling the scrolling speed of the horizontal scroller. Horizontal scrollbar. Specifies whether the horizontal scroll bar is visible. USS class name that's added when the ScrollView is in horizontal mode. ScrollViewMode.Horizontal USS class name of horizontal scrollers in elements of this type. Controls how the ScrollView allows the user to scroll the contents. ScrollViewMode The behavior to use when scrolling reaches limits of a nested ScrollView. Controls the rate at which the scrolling movement slows after a user scrolls using a touch interaction. The current scrolling position. Obsolete. Use ScrollView.horizontalScrollerVisibility instead. Obsolete. Use ScrollView.verticalScrollerVisibility instead. The behavior to use when a user tries to scroll past the boundaries of the ScrollView content using a touch interaction. USS class name of elements of this type. USS class name that's added when the ScrollView is in both horizontal and vertical mode. ScrollViewMode.VerticalAndHorizontal This property is controlling the scrolling speed of the vertical scroller. Vertical Scrollbar. Specifies whether the vertical scroll bar is visible. USS class name that's added when the ScrollView is in vertical mode. ScrollViewMode.Vertical USS class name of viewport elements in elements of this type. USS class name of vertical scrollers in elements of this type. Constructor. Constructor. Options for controlling how nested ScrollView handles scrolling when reaching the limits of the scrollable area. Automatically selects the behavior according to the context in which the UI runs. For touch input, typically mobile devices, NestedInteractionKind.StopScrolling is used. For scroll wheel input, NestedInteractionKind.ForwardScrolling is used. Scrolling will continue to the parent when no movement is possible in the scrolled direction. Scrolling capture will remain in the scroll view if it initiated the drag. Scroll to a specific child element. The child to scroll to. The behavior to use when a user tries to scroll past the end of the ScrollView content using a touch interaction. The content position is clamped to the ScrollView boundaries. The content position can overshoot the ScrollView boundaries, but then "snaps" back within them. The content position can move past the ScrollView boundaries. Instantiates a ScrollView using the data read from a UXML file. Defines UxmlTraits for the ScrollView. Initialize ScrollView properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Configurations of the ScrollView to influence the layout of its contents and how scrollbars appear. ScrollView.mode Configure ScrollView for horizontal scrolling. Configure ScrollView for vertical scrolling. Configure ScrollView for vertical and horizontal scrolling. Controls how many items can be selected at once. Multiple items are selectable at once. Selections are disabled. Only one item is selectable. A slider containing floating point values. USS class name of input elements in elements of this type. USS class name of labels in elements of this type. USS class name of elements of this type. Constructor. Constructor. Constructor. Instantiates a Slider using the data read from a UXML file. Defines UxmlTraits for the Slider. Initialize Slider properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. This is the direction of the Slider and SliderInt. An horizontal slider is made with a SliderDirection Horizontal. An vertical slider is made with a SliderDirection Vertical. A slider containing Integer discrete values. USS class name of input elements in elements of this type. USS class name of labels in elements of this type. The value to add or remove to the SliderInt.value when it is clicked. USS class name of elements of this type. Constructors for the SliderInt. Constructors for the SliderInt. This is the low value of the slider. This is the high value of the slider. This is the slider direction, horizontal or vertical. This is the number of values to change when the slider is clicked. Constructors for the SliderInt. This is the low value of the slider. This is the high value of the slider. This is the slider direction, horizontal or vertical. This is the number of values to change when the slider is clicked. Instantiates a SliderInt using the data read from a UXML file. Defines UxmlTraits for the SliderInt. Initialize SliderInt properties using values from the attribute bag. The object to initialize. The bag of attributes. The creation context; unused. Style value that can be either a Background or a StyleKeyword. The style keyword. The Background value. Creates from either a Background or a StyleKeyword. Creates from either a Background or a StyleKeyword. Creates from either a Background or a StyleKeyword. Creates from either a Background or a StyleKeyword. Creates from either a Background or a StyleKeyword. Style value that can be either a Color or a StyleKeyword. The style keyword. The Color value. Creates from either a Color or StyleKeyword. Creates from either a Color or StyleKeyword. Style value that can be either a Cursor or a StyleKeyword. The style keyword. The Cursor value. Creates from either a Cursor or StyleKeyword. Creates from either a Cursor or StyleKeyword. Style value that can be either an enum or a StyleKeyword. The style keyword. The style value. Creates from either an enum or a StyleKeyword. Creates from either an enum or a StyleKeyword. Style value that can be either a float or a StyleKeyword. The style keyword. The float value. Creates from either a float or a StyleKeyword. Creates from either a float or a StyleKeyword. Style value that can be either a Font or a StyleKeyword. The style keyword. The Font value. Creates from a Font or StyleKeyword. Creates from a Font or StyleKeyword. Style value that can be either a FontDefinition or a StyleKeyword. The style keyword. The actual value of the definition. Creates from either a FontDefinition or a StyleKeyword. Creates from either a FontDefinition or a StyleKeyword. Creates from either a FontDefinition or a StyleKeyword. Style value that can be either an integer or a StyleKeyword. The style keyword. The integer value. Creates from either an integer or StyleKeyword. Creates from either an integer or StyleKeyword. Keyword that can be used on any style value types. For style properties accepting auto. The initial (or default) value of a style property. For style properties accepting none. Means that an inline style from IStyle has no value or keyword. Means that there's no keyword defined for that property. Style value that can be either a Length or a StyleKeyword. The style keyword. The Length value. Creates from either a Length or a StyleKeyword. Creates from either a Length or a StyleKeyword. Creates from either a Length or a StyleKeyword. Style value that can be either a list or a StyleKeyword. The style keyword. The style value. Creates from either a list or a StyleKeyword. Creates from either a list or a StyleKeyword. Defines the name of a style property. Initializes and returns an instance of StylePropertyName from a string. Implicit string operator. Name of the property you want to create a new StylePropertyName with. Checks if the StylePropertyName is null or empty. StylePropertyName you want to check. True if propertyName is invalid. False otherwise. Determines if the StylePropertyNames are equal. First StylePropertyName. Second StylePropertyName. True if both StylePropertyNames are equal. False otherwise. Determines if the StylePropertyNames are not equal. First StylePropertyName. Second StylePropertyName. True if the StylePropertyNames are not equal. False otherwise. Collection of StylePropertyName. Determines whether a StylePropertyNameCollection contains the specified element. The element to locate in the <see cref="StylePropertyNameCollection" />. true if the StylePropertyNameCollection contains the specified element; otherwise, false. Enumerates the elements of a StylePropertyNameCollection. Gets the element at the current position of the enumerator. The element in the StylePropertyNameCollection at the current position of the enumerator. Releases all resources used by the StylePropertyNameCollection enumerator. Advances the enumerator to the next element of the StylePropertyNameCollection. true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. Returns an enumerator that iterates through the StylePropertyNameCollection. An enumerator that can be used to iterate through the StylePropertyNameCollection. Represents a style value that can be either a Rotate or a StyleKeyword. The style keyword. The Rotate value. Creates a StyleRotate from either a Rotate or a StyleKeyword. Creates a StyleRotate from either a Rotate or a StyleKeyword. Style value that can be either a Scale or a StyleKeyword. The style keyword. The Scale value. Creates a new StyleScale from either a Scale or a StyleKeyword. Creates a new StyleScale from either a Scale or a StyleKeyword. Style sheets are applied to visual elements in order to control the layout and visual appearance of the user interface. A hash value computed from the stylesheet content. Whether there were errors encountered while importing the StyleSheet Whether there were warnings encountered while importing the StyleSheet Style value that can be either a TextShadow or a StyleKeyword. The style keyword. The TextShadow value. Creates from either a TextShadow or StyleKeyword. Creates from either a TextShadow or StyleKeyword. Represents a style value that can be either a TransformOrigin or a StyleKeyword. The style keyword. The TransformOrigin value. Creates a new StyleTransformOrigin from either a TransformOrigin or a StyleKeyword. Creates a new StyleTransformOrigin from either a TransformOrigin or a StyleKeyword. Style value that can be either a Translate or a StyleKeyword. The style keyword. The Translate value. Creates from either a Translate or a StyleKeyword. Creates from either a Translate or a StyleKeyword. Represents the root VisualElement of UXML file. The local ID of the template in the parent UXML file (Read Only). Stores the template asset reference, if the generated element is cloned from a VisualTreeAsset as a Template declaration inside another VisualTreeAsset. Instantiates and clones a TemplateContainer using the data read from a UXML file. Defines UxmlTraits for the TemplateContainer. Returns an empty enumerable, as template instances do not have children. Initialize TemplateContainer properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Use this as the super class if you are declaring a custom VisualElement that displays text. For example, Button or Label use this as their base class. When true, a tooltip displays the full version of elided text, and also if a tooltip had been previously provided, it will be overwritten. When false, rich text tags will not be parsed. Returns true if text is elided, false otherwise. The text to be displayed. USS class name of elements of this type. Initializes and returns an instance of TextElement. Computes the size needed to display a text string based on element style values such as font, font-size, word-wrap, and so on. The text to measure. Suggested width. Can be zero. Width restrictions. Suggested height. Height restrictions. The horizontal and vertical size needed to display the text string. Instantiates a TextElement using the data read from a UXML file. Defines UxmlTraits for the TextElement. Enumerator to get the child elements of the UxmlTraits of TextElement. Initializer for the UxmlTraits for the TextElement. <see cref="VisualElement" /> to initialize. Bag of attributes where to get the value from. Creation Context, not used. A textfield is a rectangular area where the user can edit a string. USS class name of input elements in elements of this type. USS class name of labels in elements of this type. Set this to true to allow multiple lines in the textfield and false if otherwise. USS class name of elements of this type. The string currently being exposed by the field. Creates a new textfield. Creates a new textfield. The maximum number of characters this textfield can hold. If 0, there is no limit. Set this to true to allow multiple lines in the textfield and false if otherwise. Set this to true to mask the characters and false if otherwise. The character used for masking in a password field. Creates a new textfield. Creates a new textfield. The maximum number of characters this textfield can hold. If 0, there is no limit. Set this to true to allow multiple lines in the textfield and false if otherwise. Set this to true to mask the characters and false if otherwise. The character used for masking in a password field. Selects text in the textfield between cursorIndex and selectionIndex. The selection end position. Instantiates a TextField using the data read from a UXML file. Defines UxmlTraits for the TextField. Initialize TextField properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Abstract base class used for all text-based fields. Color of the cursor. The current cursor position index in the text input field. Controls whether double clicking selects the word under the mouse pointer or not. USS class name of input elements in elements of this type. If set to true, the value property isn't updated until either the user presses Enter or the text field loses focus. Returns true if the field is used to edit a password. Returns true if the field is read only. USS class name of labels in elements of this type. The character used for masking in a password field. Maximum number of characters for the field. USS class name of multiline input elements in elements of this type. Calls the methods in its invocation list when isReadOnly changes. The current selection position index in the text input field. Background color of selected text. USS class name of single line input elements in elements of this type. The value of the input field. This is the text input visual element which presents the value in the field. USS class name of input elements in elements of this type. Controls whether triple clicking selects the entire line under the mouse pointer or not. USS class name of elements of this type. Computes the size needed to display a text string based on element style values such as font, font-size, and word-wrap. The text to measure. Suggested width. Can be zero. Width restrictions. Suggested height. Height restrictions. The horizontal and vertical size needed to display the text string. Selects all the text. Converts a string to the value of the specified generic type from the subclass. The string to convert. A value converted from the string. This is the input text base class visual representation. Color of the cursor. This is the cursor index in the text presented. Indicates if a double click selects or not a word. Returns true if the field is used to edit a password. Returns true if the field is read only. The character used for masking in a password field. Maximum number of characters for the field. This is the selection index in the text presented. Background color of selected text. The value of the input field. Indicates if a double click selects or not a line. Called to construct a menu to show different options. Resets the text contained in the field. Selects all the text contained in the field. Converts a string to a value type. The string to convert. The value parsed from the string. Defines UxmlTraits for TextInputFieldBase. Initialize the traits for this field. VisualElement to which to apply the attributes. Bag of attributes where to get the attributes. Creation context. Converts a value of the specified generic type from the subclass to a string representation. The value to convert. A string representing the value. Specifies how the text Element treats hidden overflow content. The Element clips overflow content and hides it. This is the default value. The Element clips overflow content and hides it, but displays an ellipsis ("...") to indicate that clipped content exists. Specifies which part of the text the Element replaces with an ellipsis when textOverflow is set to TextOverflow.Ellipsis. The ellipsis replaces content at the end of the text. This is the default value. The ellipsis replaces content in the middle of the text. The ellipsis replaces content at the beginning of the text. Script interface for VisualElement text-shadow style property IStyle.textShadow. The blur radius of the shadow. The color of the shadow. The offset of the shadow. Represents a style sheet that's assembled from other style sheets. Contains timing information of scheduler events. Time difference in milliseconds between now and the previous callback. Current time in milliseconds. Start time in milliseconds, or last callback time for repeatable IScheduledItem. Compare this object with another object and return true if they are equal. The object to compare with. True if the objects are equal. Compare this object with another object and return true if they are equal. The object to compare with. True if the objects are equal. Describes how to interpret a TimeValue. Interprets the time value as milliseconds. Interprets the time value as seconds. Represents a time value. The unit of the value property. The time value. Creates from a float and an optional TimeUnit. Creates from a float and an optional TimeUnit. A Toggle is a clickable element that represents a boolean value. USS class name of Images in Toggle elements. USS class name of input elements in Toggle elements. USS class name for Labels in Toggle elements. USS class name of Toggle elements that have no text. USS class name of Text elements in Toggle elements. USS class name for Toggle elements. Creates a Toggle with no label. Creates a Toggle with a Label and a default manipulator. The Label text. Instantiates a Toggle using data from a UXML file. Defines UxmlTraits for the Toggle. Initializes Toggle properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. Event sent to find the first VisualElement that displays a tooltip. Rectangle of the hovered VisualElement in the panel coordinate system. Text to display inside the tooltip box. Initializes and returns an instance of TooltipEvent. Resets the event members to their initial values. Represents the point of origin where the (Scale, Translate, Rotate) transformations are applied. Create a TransformOrigin data with two Lengths for the x and y axis. Returns the initial value for the TransformOrigin property. Specifies the alignment keywords for TransformOrigin. The origin of the transform operation set to the bottom of the element. The origin of the transform operation is set to the center of the element. The origin of the transform operation is is set to the left of the element. The origin of the transform operation is set to the right of the element. The origin of the transform operation is set to the top of the element. Event sent when a transition is canceled. Event sent at the completion of the transition. In the case where a transition is removed before completion then the event will not fire. Transition events abstract base class. The number of seconds the transition has been running, excluding delay phase time. The names of the properties associated with the transition. Determines whether the ITransitionEvent affects the specified property. The property to check against. true if the ITransitionEvent affects the specified property; otherwise, false. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained from this method should be released back to the pool using Dispose(). The name of the style property. The elapsed time. An initialized transition event. Event sent when a transition is created (i.e. added to the set of running transitions). Event sent when a transition's delay phase ends. Represents a translation of the object. Percentage values in X and Y are relative to the width and height of the visual element where the style value is applied. Create a Translate data with two Lengths for the x and y axis. Returns the value of a Translate object with no translation applied. Item structure provided to a TreeView using the default implementation. Children of this tree item. Data for this item. Whether this item has children or not. Id of the item. Creates a TreeViewItemData_1 with all required parameters. The item id. The item data. The item's children. Use this enum to specify during which phases the event handler is executed. The event handler should be executed during the AtTarget and BubbleUp phases. The event handler should be executed during the AtTarget and TrickleDown phases. A SplitView that contains two resizable panes. One pane is fixed-size while the other pane has flex-grow style set to 1 to take all remaining space. The border between he panes is draggable to resize both panes. Both horizontal and vertical modes are supported. Requires _exactly_ two child elements to operate. The child element that is set as the fixed size pane. 0 for setting first child as the fixed pane, 1 for the second child element. The initial width or height for the fixed pane. The child element that is set as the flexable size pane. Orientation of the split view. Collapse one of the panes of the split view. This will hide the resizer and make the other child take up all available space. Index of child to collapse. Parameterized constructor. 0 for setting first child as the fixed pane, 1 for the second child element. Set an inital width or height for the fixed pane. Orientation of the split view. Un-collapse the split view. This will restore the split view to the state it was before the previous collapse. Instantiates a TwoPaneSplitView using the data read from a UXML file. Defines UxmlTraits for the TwoPaneSplitView. Determines the orientation of the two resizable panes. Split view panes layout is left/right with vertical resizable split. Split view panes layout is top/bottom with horizontal resizable split. Base class for all the uxml specific attributes. The default value to be used for that specific attribute. The string representation of the default value of the uxml attribute. Use this method to obtain the actual value of the attribute. The bag of attributes where to get the actual value. The creation context. The value of type T. Defines a Component that connects VisualElements to GameObjects. This makes it possible to render UI defined in UXML documents in the Game view. Specifies the PanelSettings instance to connect this UIDocument component to. If the GameObject that this UIDocument component is attached to has a parent GameObject, and that parent GameObject also has a UIDocument component attached to it, this value is set to the parent GameObject's UIDocument component automatically. The root visual element where the UI hierarchy starts. The order in which this UIDocument will show up on the hierarchy in relation to other UIDocuments either attached to the same PanelSettings, or with the same UIDocument parent. The VisualTreeAsset loaded into the root visual element automatically. UQuery is a set of extension methods allowing you to select individual or collection of visualElements inside a complex hierarchy. Utility Object that contructs a set of selection rules to be ran on a root visual element. Selects all elements that are active. A QueryBuilder with the selection rules. Convenience overload, shorthand for Build().AtIndex(). Compiles the selection rules into a QueryState object. Selects all elements that are checked. Selects all direct child elements of elements matching the previous rules. Selects all direct child elements of elements matching the previous rules. Selects all elements with the specified class in the class list, as specified with the class attribute in a UXML file or added with VisualElement.AddToClassList(string) method. The class to use in the query. Initializes a QueryBuilder. The root element on which to condfuct the search query. Selects all elements that are descendants of currently matching ancestors. Selects all elements that are descendants of currently matching ancestors. Selects all elements that are enabled. Convenience overload, shorthand for Build().First(). The first element matching all the criteria, or null if none was found. Selects all elements that are enabled. Convenience overload, shorthand for Build().ForEach(). Each return value will be added to this list. The function to be invoked with each matching element. Convenience overload, shorthand for Build().ForEach(). The function to be invoked with each matching element. Convenience overload, shorthand for Build().ForEach(). The function to be invoked with each matching element. Selects all elements that are hovered. Convenience overload, shorthand for Build().Last(). The last element matching all the criteria, or null if none was found. Selects element with this name. Selects all elements that are not active. Selects all elements that npot checked. Selects all elements that are not enabled. Selects all elements that don't currently own the focus. Selects all elements that are not hovered. Selects all elements that are not selected. Selects all elements that are not visible. Selects all elements of the specified Type (eg: Label, Button, ScrollView, etc). If specified, will select elements with this name. If specified, will select elements with the given class (not to be confused with Type). QueryBuilder configured with the associated selection rules. Selects all elements of the specified Type (eg: Label, Button, ScrollView, etc). If specified, will select elements with this name. If specified, will select elements with the given class (not to be confused with Type). QueryBuilder configured with the associated selection rules. Selects all elements that are not selected. Convenience method. shorthand for Build().ToList. A list containing elements satisfying selection rules. Convenience method. Shorthand gor Build().ToList(). Adds all elements satisfying selection rules to the list. Selects all elements that are not visible. Selects all elements satifying the predicate. Predicate that must return true for selected elements. QueryBuilder configured with the associated selection rules. UQuery is a set of extension methods allowing you to select individual or collection of visualElements inside a complex hierarchy. Convenience overload, shorthand for Query&lt;T&gt;.Build().First(). Root VisualElement on which the selector will be applied. If specified, will select elements with this name. If specified, will select elements with the given class (not to be confused with Type). The first element matching all the criteria, or null if none was found. Convenience overload, shorthand for Query&lt;T&gt;.Build().First(). Root VisualElement on which the selector will be applied. If specified, will select elements with this name. If specified, will select elements with the given class (not to be confused with Type). The first element matching all the criteria, or null if none was found. Initializes a QueryBuilder with the specified selection rules. Root VisualElement on which the selector will be applied. If specified, will select elements with this name. If specified, will select elements with the given class (not to be confused with Type). QueryBuilder configured with the associated selection rules. Initializes a QueryBuilder with the specified selection rules. Root VisualElement on which the selector will be applied. If specified, will select elements with this name. If specified, will select elements with the given class (not to be confused with Type). QueryBuilder configured with the associated selection rules. Initializes a QueryBuilder with the specified selection rules. Root VisualElement on which the selector will be applied. QueryBuilder configured with the associated selection rules. Query object containing all the selection rules. The object can be saved and rerun later without re-allocating memory. Selects the nth element matching all the criteria, or null if not enough elements were found. The index of the matched element. The match element at the specified index. The first element matching all the criteria, or null if none was found. The first element matching all the criteria, or null if none was found. Invokes function on all elements matching the query. The action to be invoked with each matching element. Invokes function on all elements matching the query. Each return value will be added to this list. The function to be invoked with each matching element. Invokes function on all elements matching the query. The action to be invoked with each matching element. Allows traversing the results of the query with foreach without creating GC allocations. A UQueryState{T}.Enumerator instance configured to traverse the results. The last element matching all the criteria, or null if none was found. The last element matching all the criteria, or null if none was found. Creates a new QueryState with the same selection rules, applied on another VisualElement. The element on which to apply the selection rules. A new QueryState with the same selection rules, applied on this element. Adds all elements satisfying selection rules to the list. Adds all elements satisfying selection rules to the list. Returns a list containing elements satisfying selection rules. A list containing elements satisfying selection rules. Offers a set of values that describe the intended usage patterns of a specific VisualElement. Marks a VisualElement that changes its color often (background-color, border-color, etc.). This will store the element's colors in an optimized storage suitable for frequent changes, such as animation. Marks a VisualElement that changes its transformation often (i.e. position, rotation or scale). When specified, this flag hints the system to optimize rendering of the VisualElement for recurring transformation changes. The VisualElement's vertex transformation will be done by the GPU when possible on the target platform. Please note that the number of VisualElements to which this hint effectively applies can be limited by target platform capabilities. For such platforms, it is recommended to prioritize use of this hint to only the VisualElements with the highest frequency of transformation changes. Marks a VisualElement that hosts many children with DynamicTransform applied on them. A common use-case of this hint is a VisualElement that represents a "viewport" within which there are many DynamicTransform VisualElements that can move individually in addition to the "viewport" element also often changing its transformation. However, if the contents of the aforementioned "viewport" element are mostly static (not moving) then it is enough to use the DynamicTransform hint on that element instead of GroupTransform. Internally, an element hinted with GroupTransform will force a separate draw batch with its world transformation value, but in the same time it will avoid changing the transforms of all its descendants whenever a transformation change occurs on the GroupTransform element. Marks a VisualElement that hosts non-rectangular descendants using the "overflow: hidden;" style. Non-rectangular masks are implemented with the stencil. If applicable, the renderer breaks the batch to preemptively set the stencil state, before and after drawing the descendants, so that the descendants won't have to set them at the next masking level. When using this flag, consecutive stencil pushpop operations are cheap and don't require modifying the stencil reference. As a result, the batch doesn't need to be broken for each pushpop operation. Consecutive pushpush or poppop operations are still expensive. Avoid cases that involve many subtrees, where each subtree uses 2 or more levels of masking, to avoid consecutive pushpush or poppop operations. No particular hints applicable. Base class for describing an XML attribute. The default value for the attribute, as a string. The attribute name. A list of obsolete names for this attribute. Restrictions on the possible values of the attribute. Attribute type. Attribute namespace. Whether the attribute is optional, required or prohibited. Get the attribute value from the attribute bag. A bag containg attributes and their values as strings. The context in which the values are retrieved. A function to convert a string value to type T. The value to return if the attribute is not found in the bag. The attribute value from the bag, or defaultValue if the attribute is not found. Tries to get the attribute value from the attribute bag. A bag containg attributes and their values as strings. The context in which the values are retrieved. A function to convert a string value to type T. The value to return if the attribute is not found in the bag. If the attribute could be retrieved, the retrieved value converted by the conversion function or the default value if the retrieved value could not de converted. True if the value could be retrieved, false otherwise. An enum to describe attribute use. There is no restriction on the use of this attribute with the element. The attribute is optional for the element. The attribute should not appear for the element. The attribute must appear in the element tag. Factory for the root AttributeOverrides element. Defines UxmlTraits for the AttributeOverrides tag. Describes a XML bool attribute. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Describe an allowed child element for an element. The name of the allowed child element. The namespace name of the allowed child element. Constructor. Describes a XML attribute representing a Color as a string. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Describes a XML double attribute. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Describes a XML attribute representing an enum as a string. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Restricts the value of an attribute to be taken from a list of values. The list of values the attribute can take. Indicates whether the current UxmlEnumeration object is equal to another object of the same type. The object to compare with. True if the otheer object is equal to this one. UxmlFactory specialization for classes that derive from VisualElement and that shares its traits, VisualElementTraits. Generic base class for UXML factories, which instantiate a VisualElement using the data read from a UXML file. Returns UxmlTraitscanHaveAnyAttribute (where UxmlTraits is the argument for T1). Returns an empty string if T0 is not VisualElement; otherwise, returns "VisualElement". Returns the namespace for substituteForTypeName. Returns the fully qualified name for substituteForTypeName. Returns an empty enumerable. Returns an empty enumerable. Returns the type name of T0. Returns the namespace name of T0. Returns the typefully qualified name of T0. Returns true. The attribute bag. Always true. Instantiate an object of type T0 and initialize it by calling T1 UxmlTraitsInit method. A bag of name-value pairs, one for each attribute of the UXML element. This can be used to initialize the properties of the created object. When the element is created as part of a template instance inserted in another document, this contains information about the insertion point. The created element. Describes a XML float attribute. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Describes a XML Hash128 attribute. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Describes a XML int attribute. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Describes a XML long attribute. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Factory for the root UXML element. Returns the empty string, as the root element can not appear anywhere else bit at the root of the document. Returns the empty string, as the root element can not appear anywhere else bit at the root of the document. Returns the empty string, as the root element can not appear anywhere else bit at the root of the document. Returns "UXML". Returns the qualified name for this element. Returns null. Defines UxmlTraits for the UXML root element. Returns an enumerable containing UxmlChildElementDescription(typeof(VisualElement)), since the root element can contain VisualElements. Describes a XML string attribute. The default value for the attribute, as a string. Constructor. Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue. The bag of attributes. The context in which the values are retrieved. The value of the attribute. Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false. The bag of attributes. The context in which the values are retrieved. The value of the attribute. True if the value could be retrieved, false otherwise. Factory for the root Style element. Defines UxmlTraits for the Style tag. Factory for the root Template element. Defines UxmlTraits for the Template tag. Describes a VisualElement derived class for the parsing of UXML files and the generation of UXML schema definition. Must return true if the UXML element attributes are not restricted to the values enumerated by uxmlAttributesDescription. Describes the UXML attributes expected by the element. The attributes enumerated here will appear in the UXML schema. Describes the types of element that can appear as children of this element in a UXML file. Initialize a VisualElement instance with values from the UXML element attributes. The VisualElement to initialize. A bag of name-value pairs, one for each attribute of the UXML element. When the element is created as part of a template instance inserted in another document, this contains information about the insertion point. Describes an XML System.Type attribute. The default value for the attribute, as a string. Constructor. Method that retrieves an attribute's value from an attribute bag. Returns it if it is found, otherwise return defaultValue. The attribute bag. The context in which the method retrieves attribute values. The attribute's value. If the method cannot find the value, returns defaultValue. Method that tries to retrieve an attribute's value from an attribute bag.. Returns true if it is found, otherwise returns false. The attribute bag. The context in which the method retrieves attribute values. The attribute's value. True if the method can retrieve the attribute's value. False otherwise. Base class to restricts the value of an attribute. Indicates whether the current UxmlTypeRestriction object is equal to another object of the same type. The object to compare with. True if the otheer object is equal to this one. Restricts the value of an attribute to be within the specified bounds. True if the bounds exclude max. True if the bounds exclude min. The maximum value for the attribute. The minimum value for the attribute. Indicates whether the current UxmlValueBounds object is equal to another object of the same type. The object to compare with. True if the otheer object is equal to this one. Restricts the value of an attribute to match a regular expression. The regular expression that should be matched by the value. Indicates whether the current UxmlValueMatches object is equal to another object of the same type. The object to compare with. True if the otheer object is equal to this one. The event sent to probe which elements accepts a command. An asset that represents a vector image. Represents a vertex of geometry for drawing content of VisualElement. A special value representing the near clipping plane. Always use this value as the vertex position's z component when building 2D (flat) UI geometry. Describes the vertex's position. A color value for the vertex. The UV coordinate of the vertex. Specifies whether or not a VisualElement is visible. The VisualElement is hidden. Hidden VisualElements will take up space in their parent layout if their positionType is set to PositionType.Relative. Use the display property to both hide and remove a VisualElement from the parent VisualElement layout. The VisualElement is visible. Default Value. Base class for objects that are part of the UIElements visual tree. Number of child elements in this object's contentContainer. child elements are added to this element, usually this The rectangle of the content area of the element, in the local space of the element. Returns the custom style properties accessor for this element. USS class name of local disabled elements. Returns true if the VisualElement is enabled in its own hierarchy. Returns true if the VisualElement is enabled locally. Returns the UIElements experimental interfaces. Called when the VisualElement visual contents need to be (re)generated. Access to this element physical hierarchy The position and size of the VisualElement relative to its parent, as computed by the layout system. AABB after applying the transform to the rect, but before applying the layout translation. The name of this VisualElement. The rectangle of the padding area of the element, in the local space of the element. The panel onto which this VisualElement is attached. The parent of this VisualElement. Determines if this element can be pick during mouseEvents or IPanel.Pick queries. Returns the VisualElement resolved style values. Retrieves this VisualElement's IVisualElementScheduler Reference to the style object of this element. Returns a VisualElementStyleSheetSet that manipulates style sheets attached to this element. Text to display inside an information box after the user hovers the element for a small amount of time. Returns a transform object for this VisualElement. ITransform A combination of hint values that specify high-level intended usage patterns for the VisualElement. This property can only be set when the VisualElement is not yet part of a Panel. Once part of a Panel, this property becomes effectively read-only, and attempts to change it will throw an exception. The specification of proper UsageHints drives the system to make better decisions on how to process or accelerate certain operations based on the anticipated usage pattern. Note that those hints do not affect behavioral or visual results, but only affect the overall performance of the panel and the elements within. It's advised to always consider specifying the proper UsageHints, but keep in mind that some UsageHints might be internally ignored under certain conditions (e.g. due to hardware limitations on the target platform). This property can be used to associate application-specific user data with this VisualElement. Used for view data persistence (ie. tree expanded states, scroll position, zoom level). Indicates whether or not this element should be rendered. Stores the asset reference, if the generated element is cloned from a VisualTreeAsset. AABB after applying the world transform to rect. Returns a matrix that cumulates the following operations (in order): -Local Scaling -Local Rotation -Local Translation -Layout Translation -Parent worldTransform (recursive definition - consider identity when there is no parent) Add an element to this element's contentContainer Adds a class to the class list of the element in order to assign styles from USS. The name of the class to add to the list. Brings this element to the end of its parent children list. The element will be visually in front of any overlapping sibling elements. Returns the elements from its contentContainer. Searches for a class in the class list of this element. The name of the class for the search query. Returns true if the class is part of the list. Otherwise, returns false. Remove all child elements from this element's contentContainer Removes all classes from the class list of this element. AddToClassList Checks if this element is an ancestor of the specified child element. The child element to test against. Returns true if this element is a ancestor of the child element, false otherwise. Checks if the specified point intersects with this VisualElement's layout. The point in the local space of the element. Returns true if the point is contained within the element's layout. Otherwise, returns false. Initializes and returns an instance of VisualElement. Retrieves the child element at a specific index. The index of the element. Enables or disables the class with the given name. The name of the class to enable or disable. A boolean flag that adds or removes the class name from the class list. If true, EnableInClassList adds the class name to the class list. If false, EnableInClassList removes the class name from the class list. Searches up the hierarchy of this VisualElement and retrieves stored userData, if any is found. Finds the lowest common ancestor between two VisualElements inside the VisualTree hierarchy. Retrieve the classes for this element. A class list. Walks up the hierarchy, starting from this element's parent, and returns the first VisualElement of this type Walks up the hierarchy, starting from this element, and returns the first VisualElement of this type Hierarchy is a struct allowing access to the hierarchy of visual elements Number of child elements in this object's contentContainer The physical parent of this element in the hierarchy. Add an element to this element's contentContainer Returns the elements from its contentContainer Remove all child elements from this element's contentContainer Retrieves the child element at position Compares instances of the Hierarchy struct for equality. The structure to compare with. Returns true if the two instances refer to the same element, false otherwise. Retrieves the index of the specified VisualElement in the Hierarchy. The element to return the index for. The index of the element, or -1 if the element is not found. Insert an element into this element's contentContainer Compares instances of the Hierarchy struct for equality. The left operand of the comparison. The right operand of the comparison. Returns true if the two instances refer to the same element, false otherwise. Compares instances of the Hierarchy struct for inequality. The left operand of the comparison. The right operand of the comparison. Returns false if the two instances refer to the same element, true otherwise. Removes this child from the hierarchy Remove the child element located at this position from this element's contentContainer Reorders child elements from this VisualElement contentContainer. Sorting criteria. Returns the element at the specified index in the hierarchy The index of the child The VisualElement at this index Retrieves the child index of the specified VisualElement. The child element to retrieve. The index of the child, or -1 if the child is not found. Insert an element into this element's contentContainer Triggers a repaint of the VisualElement on the next frame. The modes available to measure VisualElement sizes. At Most. The element should give its preferred width/height but no more than the value passed. The element should give the width/height that is passed in and derive the opposite site from this value (for example, calculate text size from a fixed width). The element should give its preferred width/height without any constraint. Places this element right before the sibling element in their parent children list. If the element and the sibling position overlap, the element will be visually behind of its sibling. The sibling element. Places this element right after the sibling element in their parent children list. If the element and the sibling position overlap, the element will be visually in front of its sibling. The sibling element. Removes this child from the hierarchy Remove the child element located at this position from this element's contentContainer Removes a class from the class list of the element. The name of the class to remove to the list. Removes this element from its parent hierarchy. Sends an event to the event handler. The event to send. Sends this element to the beginning of its parent children list. The element will be visually behind any overlapping sibling elements. Changes the VisualElement enabled state. A disabled VisualElement does not receive most events. New enabled state Reorders child elements from this VisualElement contentContainer. The sorting criteria. Retrieves the child element at a specific index. The index of the element. Toggles between adding and removing the given class name from the class list. The class name to add or remove from the class list. Instantiates a VisualElement using the data read from a UXML file. Defines UxmlTraits for the VisualElement. The focusable attribute. The focus index attribute. Returns an enumerable containing UxmlChildElementDescription(typeof(VisualElement)), since VisualElements can contain other VisualElements. Initialize VisualElement properties using values from the attribute bag. The object to initialize. The attribute bag. The creation context; unused. VisualElementExtensions is a set of extension methods useful for VisualElement. Add a manipulator associated to a VisualElement. VisualElement associated to the manipulator. Manipulator to be added to the VisualElement. Transforms a point from the local space of an element to the local space of another element. The element to use as a reference as the source local space. The element to use as a reference as the destination local space. The point to transform, in the local space of the source element. A point in the local space of destination element. Transforms a rectangle from the local space of an element to the local space of another element. The element to use as a reference as the source local space. The element to use as a reference as the destination local space. The rectangle to transform, in the local space of the source element. A rectangle in the local space of destination element. Transforms a point from the local space of the element to the world space. The element to use as a reference for the local space. The point to transform, in local space. A point in the world space. Transforms a rectangle from the local space of the element to the world space. The element to use as a reference for the local space. The rectangle to transform, in local space. A rectangle in the world space. Remove a manipulator associated to a VisualElement. VisualElement associated to the manipulator. Manipulator to be removed from the VisualElement. Aligns a VisualElement's left, top, right and bottom edges with the corresponding edges of its parent. The element to be aligned with its parent Aligns a VisualElement's left and right edges with the corresponding edges of its parent. The element to be aligned with its parent Transforms a point from the world space to the local space of the element. The element to use as a reference for the local space. The point to transform, in world space. A point in the local space of the element. Transforms a rectangle from the world space to the local space of the element. The element to use as a reference for the local space. The rectangle to transform, in world space. A rectangle in the local space of the element. Define focus change directions for the VisualElementFocusRing. Last value for the direction defined by this class. The focus is moving to the left. The focus is moving to the right. Implementation of a linear focus ring. Elements are sorted according to their focusIndex. The focus order for elements having 0 has a focusIndex. Constructor. The root of the element tree for which we want to build a focus ring. Default ordering of the elements in the ring. Ordering of elements in the focus ring. Order elements using a depth-first pre-order traversal of the element tree. Order elements according to their position, first by X, then by Y. Order elements according to their position, first by Y, then by X. Get the direction of the focus change for the given event. For example, when the Tab key is pressed, focus should be given to the element to the right in the focus ring. Get the next element in the given direction. This structure manipulates the set of StyleSheet objects attached to the owner VisualElement. Number of style sheets attached to the owner element. Adds a style sheet for the owner element. Removes all style sheets for the owner element. Looks for the specified StyleSheet Returns true if the style sheet is attached to the owner element, false otherwise. Compares instances of the VisualElementStyleSheetSet struct for equality. The structure to compare with. Returns true if the two instances refer to the same element, false otherwise. Compares instances of the VisualElementStyleSheetSet struct for equality. The left operand of the comparison The right operand of the comparison True if the two instances refer to the same element, false otherwise. Compares instances of the VisualElementStyleSheetSet struct for inequality. The left operand of the comparison The right operand of the comparison Returns false if the two instances refer to the same element, true otherwise. Removes a style sheet for the owner element. Reads the value at the specified index in the list of StyleSheet objects attached of the element The index of the StyleSheet An instance of this class holds a tree of VisualElementAssets, created from a UXML file. Each node in the file corresponds to a VisualElementAsset. You can clone a VisualTreeAsset to yield a tree of VisualElements. A hash value computed from the template content. Whether there were errors encountered while importing the UXML File Whether there were warnings encountered while importing the UXML File The stylesheets used by this VisualTreeAsset. The UXML templates used by this VisualTreeAsset. Build a tree of VisualElements from the asset. The root of the tree of VisualElements that was just cloned. Build a tree of VisualElements from the asset. The path to the property that you want to bind to the root of the cloned tree. The root of the tree of VisualElements that was just cloned. Builds a tree of VisualElements from the asset. A VisualElement that will act as the root of the cloned tree. Build a tree of VisualElements from the asset. The root of the tree of VisualElements that was just cloned. Build a tree of VisualElements from the asset. The path to the property that you want to bind to the root of the cloned tree. The root of the tree of VisualElements that was just cloned. This event is sent when the mouse wheel moves. The amount of scrolling applied with the mouse wheel. Constructor. Use GetPooled() to get an event from a pool of reusable events. Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use Dispose() to release them. A wheel IMGUI event. An initialized event. Resets the event members to their initial values. Word wrapping over multiple lines if not enough space is available to draw the text of an element. Text will wrap when necessary. Text will never wrap to the next line. By default, items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. All items will be on one line. Default Value. All items will be on one line. Default Value. Items will wrap onto multiple lines from bottom to top. The UIElements module implements the UIElements retained mode UI framework.