Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h |
| Include | #include "Components/WidgetComponent.h" |
Syntax
enum EWidgetSpace
{
World,
Screen,
}
Values
| Name | Description |
|---|---|
| World | The widget is rendered in the world as mesh, it can be occluded like any other mesh in the world. |
| Screen | The widget is rendered in the screen, completely outside of the world, never occluded. |