https://github.com/slonopotamus/screenwidgetcomponent
A very performant replacement for screen-space Unreal Engine WidgetComponent.
https://github.com/slonopotamus/screenwidgetcomponent
umg unreal-engine
Last synced: 17 days ago
JSON representation
A very performant replacement for screen-space Unreal Engine WidgetComponent.
- Host: GitHub
- URL: https://github.com/slonopotamus/screenwidgetcomponent
- Owner: slonopotamus
- License: mit
- Created: 2024-07-29T12:25:22.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T08:48:34.000Z (9 months ago)
- Last Synced: 2025-04-09T23:07:33.113Z (17 days ago)
- Topics: umg, unreal-engine
- Language: C++
- Homepage:
- Size: 28.3 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= ScreenWidgetComponent
ScreenWidgetComponent is a very performant drop-in replacement for screen-space Unreal Engine WidgetComponent.
Supports Unreal Engine 4.27 and newer.
== What's wrong with WidgetComponent?
. It uses expensive `SConstraintCanvas` internally instead of a cheaper `SCanvas`
. It uses direct `float` Z-depth, resulting in unnecessary Z-order updates.
. It reorders its children in O(n^2^) time almost every frame, leading to long tick times and multi-millisecond CPU losses on **ChildOrder** Slate invalidation.== Can optimizations this widget uses be applied to WidgetComponent?
Definitely yes, though Epics usually need several years to accept changes like this.