UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WidgetComponent.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Templates/SubclassOf.h"
#include "Layout/ArrangedWidget.h"
#include "WorldCollision.h"
#include "Components/MeshComponent.h"
#include "Blueprint/UserWidget.h"
#include "WidgetComponent.generated.h"

Go to the source code of this file.

Classes

struct  FWidgetComponentInstanceData
 

Enumerations

enum class  EWidgetSpace : uint8 { World , Screen }
 
enum class  EWidgetTimingPolicy : uint8 { RealTime , GameTime }
 
enum class  EWidgetBlendMode : uint8 { Opaque , Masked , Transparent }
 
enum class  EWidgetGeometryMode : uint8 { Plane , Cylinder }
 
enum class  EWindowVisibility : uint8 { Visible , SelfHitTestInvisible }
 
enum class  ETickMode : uint8 { Disabled , Enabled , Automatic }
 

Enumeration Type Documentation

◆ ETickMode

enum class ETickMode : uint8
strong
Enumerator
Disabled 

The component tick is disabled until re-enabled.

Enabled 

The component is always ticked

Automatic 

The component is ticked only when needed. i.e. when visible.

◆ EWidgetBlendMode

enum class EWidgetBlendMode : uint8
strong
Enumerator
Opaque 
Masked 
Transparent 

◆ EWidgetGeometryMode

enum class EWidgetGeometryMode : uint8
strong
Enumerator
Plane 

The widget is mapped onto a plane

Cylinder 

The widget is mapped onto a cylinder

◆ EWidgetSpace

enum class EWidgetSpace : uint8
strong
Enumerator
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.

◆ EWidgetTimingPolicy

enum class EWidgetTimingPolicy : uint8
strong
Enumerator
RealTime 

The widget will tick using real time. When not ticking, real time will accumulate and be simulated on the next tick.

GameTime 

The widget will tick using game time, respecting pausing and time dilation.

◆ EWindowVisibility

enum class EWindowVisibility : uint8
strong
Enumerator
Visible 

The window visibility is Visible

SelfHitTestInvisible 

The window visibility is SelfHitTestInvisible