OptionaldisplaySettings: UILibraryBrowserDisplaySettingsOptionalundoRedo: UndoRedoCopies the current selected elements.
Creates a new CarbonAnimationGraph resource.
Creates a new CarbonLogicGraph resource.
Creates a new Directory inside the selected entry. If empty, create on current displayed path.
Creates a new animation with the default properties in the currently selected folder.
Creates a new material with the default shader in the currently selected folder.
Creates a new physics material with the default properties in the currently selected folder.
Creates a new shader containing a rough code outline in the currently selected folder.
Creates a new empty sprite texture in the currently selected folder.
Creates a new empty string table in the currently selected folder.
Creates a new empty UI skin in the currently selected folder.
Creates a new resource in the currently selected folder.
Creates a new TypeScript resource containing a draft component in the currently selected folder.
Creates a new TypeScript resource containing a draft window template in the currently selected folder.
Cuts the current selected elements.
Deletes the current selected elements.
Duplicates the current selected elements.
Manually imports files from using the OS file dialog.
Paste the current copy or cut elements into the given path (or the current displayed one if none is provided).
Paste the current copy or cut elements into the selected element (if any). if no element is selected, the paste will happen in the current folder.
Determines if settings changes will be persisted.
Queues resources to have their thumbnails regenerated.
Starts renaming the first selected entry.
Marks all selected and conflicted resources as resolved using 'Ours'.
Marks all selected and conflicted resources as resolved using 'Theirs'.
Selects all entries being displayed.
Selects all entries of the same type as the current selection.
Shows a dialog that contains a list of all depending resources.
Synchronizes the selected code resources to the package.
Synchronizes the selected code resources to the package.
Static ReadonlytoolbarStatic ReadonlytoolbarStatic ReadonlytoolStatic ReadonlytoolbarStatic ReadonlytoolbarStatic ReadonlytoolbarSets the border radius of the style used by this element.
Sets the border radius of the style used by this element.
Sets the border radius of the style used by this element.
Sets the border radius of the style used by this element.
Sets new border width to be used by the element.
Sets the bounds of the UI element. Relative to a parent UI panel. Equivalent to calling setPosition(), setWidth() and setHeight().
If scalable is set to true, the size will be scaled linearly with the DPI scaling factor of the surface the elements gets
attached. It false, the element will have this exact size no matter the DPI scaling factor.
Gets the current identifier paths in the clipboard.
Sets the content padding of the style used by this element.
Sets the content padding of the style used by this element.
Sets the content padding of the style used by this element.
Sets the content padding of the style used by this element.
Assigns a new context menu that will be opened when the element is right clicked. Null is allowed in case no context menu is wanted.
Sets the debug flags for the UI element.
Sets the debug name for the UI element.
Disables or enables the element. Disabled elements cannot be interacted with and have a faded out appearance.
Gets the settings of this browser element.
Hides or shows this element and recursively applies the same state to all the child elements. This will not remove the element from the layout, the room for it will still be reserved but it just won't be visible.
Gets the scaling factor for the element's parent surface. This element must be attached to a valid surface in order to retrieve the scale factor. If the element is not attached to a surface, 1.0 is returned.
The scale factor for the element's parent surface.
Set element part of element depth. Less significant than both widget and area depth.
Gets the entries being displayed by the browser.
Returns the first selected entry (if any).
Sets the element size to be fixed using the specified value.
Sets the element size to be fixed using the specified value in pixels.
Sets the element size to be fixed using the specified value.
Sets the element size to be fixed using the specified value in pixels.
Determines if the element can be navigated to by using keys/buttons (e.g. the 'Tab' button on the keyboard.
Determines if the element is currently being "clicked" by a pointer device or keyboard input.
Checks if the underlying native UIElement has been destroyed.
Determines will this element block elements underneath it from receiving events like pointer click, hover on/off or be able to gain focus. True by default.
Determines if the element is currently being focused, typically in a state to accept for keyboard input.
Determines if the element is currently hovered by a pointer device.
Determines if the element is receives hover events.
Determines if the element can be focused by clicking on it.
Determines if the element fill is interactive based on mouse events. This requires mouse-move events to be enabled.
Determines if the element stroke is interactive based on mouse events. This requires mouse-move events to be enabled.
Specifies that layout passes of children elements should start from this element.
Determines if the element is currently being "clicked" by a pointer device or keyboard input.
Determines if the element is receives hover events.
Determines if the element is receives hover events.
Returns whether the search query is empty or not.
Determines is directories should be visible or hidden.
Determines if the side tree view is visible or not.
Specifies that per-frame updates are enabled. If enabled, the element's onUpdate method will be called every frame.
Activates or deactivates this element and recursively applies the same state to all the child elements. This has the same effect as SetDisplayType(UIDisplayType::Hidden), but when disabled it will also remove the element from the layout, essentially having the same effect is if you destroyed the element.
Sets the horizontal alignment of the element when used in a layout.
Sets the vertical alignment of the element when used in a layout.
The current library path being displayed by the browser.
Gets the main element.
Sets the minimum height in points of the element when used in a layout.
Sets the minimum width in points of the element when used in a layout.
Sets a navigation group that determines in what order are UI elements visited when using a keyboard or gamepad to switch between the elements. If you don't set a navigation group the elements will inherit the default navigation group from their parent UISurface. Also see SetNavigationGroupIndex().
Sets the padding of the style used by this element.
Sets the padding of the style used by this element.
Sets the padding of the style used by this element.
Sets the padding of the style used by this element.
Returns the layout this element belongs to, if any.
Sets element position relative to parent UI panel in pixels.
Disables or enables the element. Disabled elements cannot be interacted with and have a faded out appearance.
The root type being displayed by the browser.
Determines the search query for the library browser.
Returns the current selection.
Determines is affix resources are shown or hidden.
Determines is engine internal resources are shown instead of project resources.
Sets new style to be used by the element.
The main toolbar.
Determines the visualization type of the library entries.
Get the window in which the element is positioned.
Creates an animation that executes an action lambda once the delay elapsed.
The action to execute.
Optionaldelay: numberThe delay until the action is executed. Defaults to no delay.
Optionalrepeating: number | booleanWhether the animation should repeat or not. Defaults to false.
Set to true, to repeat forever.
Set to false, to never repeat.
Set to a number, to indicate the repeat count.
The created animation.
Animates a property of the UIElement. The animation is automatically started.
The name of the property to be animated on the UIElement.
The starting value of the property.
The ending value of the property.
Optionalduration: numberThe animation duration in seconds. Defaults to 1 seconds.
OptionaleasingCurve: Const<EasingCurve>The easing curve to be used. Defaults to
Optionalrepeating: number | booleanWhether the animation should repeat or not. Defaults to false.
Set to true, to repeat forever.
Set to false, to never repeat.
Set to a number, to indicate the repeat count.
The created animation.
Animates a property of the UIElement using a generic lambda function. The animation is
automatically started.
The lambda that is called when the value is updated. The lambda should be used to assign the value on the u
The starting value of the property.
The ending value of the property.
Optionalduration: numberThe animation duration in seconds. Defaults to 1 seconds.
OptionaleasingCurve: Const<EasingCurve>The easing curve to be used. Defaults to
Optionalrepeating: number | booleanWhether the animation should repeat or not. Defaults to false.
Set to true, to repeat forever.
Set to false, to never repeat.
Set to a number, to indicate the repeat count.
The created animation.
Creates an animation that takes delay seconds to execute.
The delay in seconds.
The created animation.
VirtualCalled when a command event is triggered. Return true if you have processed the event and don't want other elements to process it.
Converts the originLocalPosition from the originElement to this element.
Converts the originLocalPosition from the originElement to this element.
Attempts to find all LibraryEntries overlapping the specified bounds.
A list of found entries.
Attempts to find a visible Library Entry at the specified coordinates in screenspace.
Respective UILibraryEntryBase if found, null otherwise.
Attempts to find a visible Library Entry at the specified coordinates.
Respective UILibraryEntryBase if found, null otherwise.
Returns non-clipped bounds of the UI element. Relative to a parent UI panel.
OptionalrelativeTo: UIElementBaseParent panel of the provided element relative to which to return the bounds. If null the bounds relative to the first parent panel are returned. Behavior is undefined if provided panel is not a parent of the element.
Gets the MainElement as class of T.
The requested class
Gets the identifier paths of the current selection with the option to return all identifier paths the current selected library entries represent.
If false, returns only the identifier paths of the current selected entries. If true, also returns the identifier paths for all library paths the current selection represents.
Gets the currently active element style.
Imports the specified filePaths as separate resources and stores the imported resources
at the specified targetLibraryPath.
The operating-system file paths that will be imported.
The import location in the library for the imported files.
VirtualCalled when a mouse event is received on any UI element the mouse is interacting with. Return true if you have processed the event and don't want other elements to process it.
Changes the displayed path, filters and scrolled position to display the provided Library Entry and returns its representative UI Element.
The Library Entry to display.
If found, the UI Element that displays the library entry.
Invoked when the user dropped a file from the operating system on the library. The method will attempt to import all dropped files.
The position in screenspace of where the drop happened (in points).
VirtualInvoked when the UI requests the UIElement to create a custom tooltip.
A UIElement that contains the tooltip content.
Opens the project reference on the server.
Pings the given entry in the Library. This will make the browser navigate to the entry and mark it as pinged. Entry can be identifier path, resource entry or resource UUID.
Removes the project reference from the project.
Marks all selected and conflicted resources as resolved using the resolutionType.
Selects the given entry. Only relevant if entry is within the current path.
The identifier path of the entry, or the UI Entry itself.
OptionalisSelectingAdjacent: booleanOptional. Whether it should select the adjacent entries based on the current selection.
OptionalisAdditive: booleanOptional. Whether the given entry should be additive to the current selection, or exclusive.
Selects and renames a newly created entry.
OptionalstartRename: booleanIf isBlocking is true, events emitted by this object are blocked. If isBlocking is false, no blocking will occur and events
will be triggered normally.
Events emitted while being blocked are not buffered.
Should the element block events
whether the element is already blocking events or not.
Sets the bounds of the UI element. Relative to a parent UI panel. Equivalent to calling setPosition(), setWidth() and setHeight().
If scalable is set to true, the size will be scaled linearly with the DPI scaling factor of the surface the elements gets
attached. It false, the element will have this exact size no matter the DPI scaling factor.
Sets the given paths to be in the copied state.
Assigns a custom cursor type.
Options object for the function call.
Sets the given paths to be in the 'cut' state.
Sets element height in pixels. Element will be resized according to its contents and parent layout but will always stay within the provided range. If maximum height is zero, the element is allowed to expand as much as it needs.
If scalable is set to true, the minimum and maximum heights will be scaled linearly with the DPI scaling factor of the surface
the elements gets attached. It false, the element will have this exact size no matter the DPI scaling factor.
OptionalminHeight: numberOptionalmaxHeight: numberOptionalscalable: booleanSets element width in pixels. Element will be resized according to its contents and parent layout but will always stay within the provided range. If maximum width is zero, the element is allowed to expand as much as it needs.
If scalable is set to true, the minimum and maximum widths will be scaled linearly with the DPI scaling factor of the surface
the elements gets attached. It false, the element will have this exact size no matter the DPI scaling factor.
OptionalminWidth: numberOptionalmaxWidth: numberOptionalscalable: booleanManually sets the entries that are selected in the browser.
OptionaluiEntries: UILibraryEntry[]OptionalisNotifying: booleanVirtualCalled when a shortcut action is triggered and the UI element has input focus. Return true if you have processed the event and don't want other elements to process it.
VirtualCalled when some text is input and the UI element has input focus. Return true if you have processed the event and don't want other elements to process it.
Scales a point value by using the element's DPI scale to the current pixel value.
The element to scale a value for. This element must be attached to a valid widget in order to retrieve the scale factor. If the element is not attached to a widget, no scaling is performed.
The value in pixels.
Converts a pixel value to points by using the element's DPI scale.
The element to scale a value for. This element must be attached to a valid widget in order to retrieve the scale factor. If the element is not attached to a widget, no scaling is performed.
The value in points.
Updates the project reference on the server.
StaticrenderRenders a UI element into a texture.
The UI element to be drawn to a texture.
The UI skin to be used to render the element.
The size of the UI texture to draw.
OptionalscalingFactor: numberThe DPI scaling factor of the RenderTarget. Can be used to linearly scale the entire UI, including text.
OptionalclearColor: Immutable<SRGBColor>The clear color. (Default: [0, 0, 0, 0])
An async operation that returns the rendered texture once rendering has been completed by the GPU.
StaticsanitizeSanitizes the given path to fit the standards of the Library Browser.
ReadonlyonTriggered whenever a resource gets double clicked.
ReadonlyonTriggered whenever the current selection changed.
ReadonlyonTriggered whenever the current entries being displayed changed.
ReadonlyonTriggered when the element gains focus.
ReadonlyonTriggered when the element loses focus.
ReadonlyonTriggered when the mouse enters over the UI element.
ReadonlyonTriggered when the mouse leaves the UI element.
ReadonlyonTriggered when the element was clicked.
ReadonlyonTriggered when the widget requests the creation of a context menu.
ReadonlyonTriggered when the element state changes.
ReadonlyonEvent fired whenever the UI element size changes from a layout update.
ReadonlyonEvent fired whenever the UI element is registered with or unregistered from a parent element.
This does not mean that the element is currently visible on screen or that it is part of a layout. Use onActiveSurfaceChanged to determine if the element is part of a layout that is currently rendered.
ReadonlyonEvent fired whenever the UI element is registered with or unregistered from a surface.
The UILibraryBrowser class implements a UIElement that provides functionality to browse and navigate the ProjectLibrary of the currently loaded Project.