Engine Tools

LGUI - 3D UI for UnrealEngine

LGUI (Lex GUI) is a 3D UI system for Unreal Engine featuring nested prefab workflows, a tween animation library, and extensive layout and interaction components

LGUI - 3D UI for UnrealEngineEngine Tools

Resource overview

Virtual reality applications and immersive 3D environments often require interface systems that exist fully within the game world rather than overlaid as flat screen elements. Creating these spatial interfaces usually means building custom rendering logic, interactive components, and animation systems from scratch. LGUI attempts to consolidate those requirements into a single framework.

What LGUI (Lex GUI) Brings to Unreal Engine

LGUI positions itself as a powerful 3D UI system for Unreal Engine. The framework is structured through three core pillars: the 3D user interface rendering system itself, a nested prefab workflow for assembling and reusing interface structures, and a dedicated tween animation library called LTween. Together, these elements allow developers to construct elaborate spatial interfaces.

The system is heavily focused on world-space interaction. The creator notes that the demonstrated projects, including those built for the HTC Vive VR platform, are made entirely of LGUI. None of the UI in those showcases relies on UMG or Slate. This makes the toolkit particularly relevant for games and experiences where the interface must function as a set of physical objects within the 3D environment.

Tutorials and project samples are available, demonstrating specific use cases. These include a 3D menu and an interface styled after the game 'The Division,' showing how the system handles complex, visually demanding HUDs in a real-time viewport.

Navigating and Controlling LGUI UISelectable Components

Recent updates to the system have refined how individual interface elements behave when interacted with. Version 3.4.18 introduced new parameters for the UISelectable component. The first is 'CanNavigateHere,' which allows the system to skip a specific selectable element when the player is using navigation input to move through the interface. This gives developers finer control over tab order and controller-based menu navigation.

The same update added an individual 'Interactable' toggle for UISelectable. Previously, toggling interactivity for groups of elements might have required routing through a UICanvasGroup. Now, individual selectable items can be turned on or off directly, simplifying the process of disabling specific buttons or inputs without affecting their parent containers.

LTween, the system's animation library, also received an update in this version. Every individual tweener can now have its TickGroup set independently. This means developers can specify exactly when and how an animation evaluates during the engine's update loop, providing more precise control over sequencing and timing.

LTween Updates: Game Pauses and Time Dilation

Handling engine time correctly is a persistent challenge when building animated interfaces. If an animation system is not tied to the engine's timekeeping, UI elements can continue to move or transition when the game is paused, or behave incorrectly when time is dilated for slow-motion effects.

Version 3.4.16 of LGUI addresses this by supporting GamePause and TimeDilation. This compatibility is a direct result of a new update method used by the LTween library. Because the tweening system now respects the engine's global time state, animations will pause appropriately when the game is paused, and they will scale correctly when TimeDilation is applied. This ensures UI behavior remains synchronized with the rest of the game's simulation.

Layout Components and UMG Parity in LGUI

While LGUI focuses on 3D interfaces, it aims to provide the same organizational convenience found in Unreal's standard 2D UI editor, UMG. To this end, version 3.4.15 added a set of new layout components. These components are named with the 'UIPanelLayout' prefix to make their purpose clear.

The new layout options include UIPanelLayout_HorizontalBox and UIPanelLayout_VerticalBox for basic stacking, UIPanelLayout_UniformGrid for evenly spaced grids, and UIPanelLayout_FlexibleGrid for more dynamic arrangement needs. These tools allow developers to automatically arrange child elements within a 3D panel, just as they would in a standard UMG canvas, significantly reducing the manual placement required for complex menus.

Infinite Scrolling and Interaction Refinements

Scrolling lists are a staple of interactive interfaces, but they can become performance burdens if not handled correctly. LGUI includes a UIRecyclableScrollView component to mitigate this issue. In version 3.4.10, this scroll view was updated to support an infinite loop. By checking an option called 'InfiniteLoop,' developers can create continuous scrolling lists that loop back to the beginning, which is particularly useful for cyclical menus and carousel-style select screens.

Earlier versions of the system focused heavily on expanding the types of UI elements available. Version 3.4.4 was a significant milestone in this regard, introducing several new element types that bridge the gap between LGUI, standard UMG, and the game viewport itself.

UIWidget: Rendering UMG Inside LGUI

One of the introduced types is the UIWidget, which allows LGUI to render standard UMG widgets directly within the 3D LGUI environment. To make these widgets interactive in 3D space, the update also included a UIWidgetInteraction component. This means developers do not have to abandon their existing UMG widgets; they can port them into the LGUI system and interact with them as spatial elements.

UIRenderTarget and UIFrameCapture

Another new type is UIRenderTarget. This element can display an LGUICanvas set to a RenderMode of RenderTarget. By using the LGUIRenderTargetInteraction component, users can interact with this rendered canvas, functioning much like a Retainer Box but within the 3D space.

For capturing the game world itself, the UIFrameCapture type was added. This element can capture the game viewport as a texture for further use within the interface. This opens up possibilities for security camera feeds, reflective surfaces, or complex UI setups that need to display the 3D world on a virtual screen.

Rendering Fidelity and Platform Support for LGUI

Visual quality and anti-aliasing are critical for text and crisp UI elements. Version 3.4.12 brought support for Multisample Anti-Aliasing (MSAA) to the LGUIRenderer. This applies to the ScreenSpace renderer, the WorldSpaceLGUIRenderer, and the RenderTarget renderer. MSAA can be enabled in the Project Settings under the LGUI section.

In terms of platform compatibility, the MSAA support extends to Windows running DirectX 11 or DirectX 12, Android using Vulkan, and MacOS. Support for iOS is not tested. The same version also added support for the Substrate material mode in Unreal Engine 5.3, ensuring the system remains compatible with the engine's evolving rendering architecture.

Extending LGUI with External Tools

The system is designed to work alongside established content creation tools. The creator provides integrations for TexturePacker, allowing developers to use that software to pack sprites and then apply them within LGUI. There is also an integration for BitmapFontGenerator, making it possible to generate and import custom bitmap fonts for the 3D interfaces.

For more advanced visual effects, a Niagara LGUI Renderer is available. This allows the LGUI system to render particles directly from the interface elements, opening up possibilities for dynamic, particle-driven UI effects.

This framework is distributed as a prebuilt binary and an editor blueprint project. It is suited for developers building immersive simulations or VR experiences where standard 2D UI solutions are insufficient. The combination of nested prefabs, diverse layout options, and native time-management features makes it most valuable for teams needing a robust, world-space interface solution without relying on Slate or UMG overlays.

Continue Browsing Similar Packs

Free Download

Download this resource

Loading your download options...

Resources are manually reviewed before listing to improve quality and reduce obvious risks.

Resource archivePlugins.7z

Related resources