/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h
Material Properties set by this component on whatever material overrides the default. SlateUI [Texture] BackColor [Vector] TintColorAndOpacity [Vector] OpacityFromTexture [Scalar]
class UWidgetComponent : public [UMeshComponent](API\Runtime\Engine\Components\UMeshComponent)
FLinearColor
BackgroundColor
The background color of the component
bool
bAddedToScreen
bool
bApplyGammaCorrection
Widget components that appear in the world will be gamma corrected by the 3D renderer.
bool
bDrawAtDesiredSize
Causes the render target to automatically match the desired size.
bool
bEditTimeUsable
Allows the widget component to be used at editor time. For use in the VR-Editor.
bool
bIsTwoSided
Is the component visible from behind?
EWidgetBlendMod...
BlendMode
The blend mode for the widget.
bool
bManuallyRedraw
Should we wait to be told to redraw to actually draw?
TObjectPtr< cla...
BodySetup
The body setup of the displayed quad
bool
bReceiveHardwareInput
Register with the viewport for hardware input from the true mouse and keyboard.
bool
bRedrawRequested
Has anyone requested we redraw?
bool
bWindowFocusable
Is the virtual window created to host the widget focusable?
FIntPoint
CurrentDrawSize
The actual draw size, this changes based on DrawSize - or the desired size of the widget if bDrawAtDesiredSize is true.
float
CylinderArcAngle
Curvature of a cylindrical widget in degrees.
FIntPoint
DrawSize
The size of the displayed quad.
EWidgetGeometry...
GeometryMode
Controls the geometry of the widget component. See EWidgetGeometryMode.
FVector2D
LastLocalHitLocation
The relative location of the last hit on this component
double
LastWidgetRenderTime
What was the last time we rendered the widget?
int32
LayerZOrder
ZOrder the layer will be created on, note this only matters on the first time a new layer is created, subsequent additions to the same layer will use the initially defined ZOrder
TObjectPtr<UMa...
MaskedMaterial
The material instance for masked widget components.
TObjectPtr<UMa...
MaskedMaterial_OneSided
The material instance for masked, one-sided widget components.
TObjectPtr<UMa...
MaterialInstance
The dynamic instance of the material that the render target is attached to
float
OpacityFromTexture
Sets the amount of opacity from the widget's UI texture to use when rendering the translucent or masked UI to the viewport (0.0-1.0)
TObjectPtr<UMa...
OpaqueMaterial
The material instance for opaque widget components
TObjectPtr<UMa...
OpaqueMaterial_OneSided
The material instance for opaque, one-sided widget components
TObjectPtr<ULo...
OwnerPlayer
The owner player for a widget component, if this widget is drawn on the screen, this controls what player's screen it appears on for split screen, if not set, users player 0.
FVector2D
Pivot
The Alignment/Pivot point that the widget is placed at relative to the position.
float
RedrawTime
The time in between draws, if 0 - we would redraw every frame.
TObjectPtr<UTe...
RenderTarget
The target to which the user widget is rendered
FName
SharedLayerName
Layer Name the widget will live on
TSharedPtr< cla...
SlateWindow
The slate window that contains the user widget content
EWidgetSpace
Space
The coordinate space in which to render the widget
ETickMode
TickMode
bool
TickWhenOffscreen
Should the component tick the widget when it's off screen?
EWidgetTimingPo...
TimingPolicy
How this widget should deal with timing, pausing, etc.
FLinearColor
TintColorAndOpacity
Tint color and opacity for this component
TObjectPtr<UMa...
TranslucentMaterial
The material instance for translucent widget components
TObjectPtr<UMa...
TranslucentMaterial_OneSided
The material instance for translucent, one-sided widget components
TSubclassOf<UU...
WidgetClass
The class of User Widget to create and display an instance of
FWidgetRenderer...
WidgetRenderer
Helper class for drawing widgets to a render target.
EWindowVisibili...
WindowVisibility
The visibility of the virtual window created to host the widget