Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Blueprint
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UWidgetBlueprintLibrary
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
Include | #include "Blueprint/WidgetBlueprintLibrary.h" |
Syntax
class UWidgetBlueprintLibrary : public UBlueprintFunctionLibrary
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UWidgetBlueprintLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Cancels any current drag drop operation. | |
![]() ![]() |
FEventReply | CaptureJoystick
(
FEventReply& Reply, |
|
![]() ![]() |
FEventReply | CaptureMouse
(
FEventReply& Reply, |
|
![]() ![]() |
FEventReply | ClearUserFocus
(
FEventReply& Reply, |
|
![]() ![]() |
UUserWidget * | Create
(
UObject* WorldContextObject, |
Creates a widget |
![]() ![]() |
UDragDropOperation * | CreateDragDropOperation
(
TSubclassOf< UDragDropOperation > OperationClass |
Creates a new drag and drop operation that can be returned from a drag begin to inform the UI what i being dragged and dropped and what it looks like. |
![]() ![]() |
FEventReply | DetectDrag
(
FEventReply& Reply, |
Ask Slate to detect if a user starts dragging in this widget later. |
![]() ![]() |
FEventReply | DetectDragIfPressed
(
const FPointerEvent& PointerEvent, |
Given the pointer event, emit the DetectDrag reply if the provided key was pressed. |
![]() ![]() |
void | Closes any popup menu | |
![]() ![]() |
void | DrawBox
(
FPaintContext& Context, |
Draws a box |
![]() ![]() |
void | DrawLine
(
FPaintContext& Context, |
Draws a line. |
![]() ![]() |
void | DrawLines
(
FPaintContext& Context, |
Draws several line segments. |
![]() ![]() |
void | DrawSpline
(
FPaintContext& Context, |
Draws a hermite spline. |
![]() ![]() |
void | DrawText
(
FPaintContext& Context, |
Draws text. |
![]() ![]() |
void | DrawTextFormatted
(
FPaintContext& Context, |
Draws text. |
![]() ![]() |
FEventReply | EndDragDrop
(
FEventReply& Reply |
An event should return FReply::Handled().EndDragDrop() to request that the current drag/drop operation be terminated. |
![]() ![]() |
void | GetAllWidgetsOfClass
(
UObject* WorldContextObject, |
Find all widgets of a certain class. |
![]() ![]() |
void | GetAllWidgetsWithInterface
(
UObject* WorldContextObject, |
Find all widgets in the world with the specified interface. |
![]() ![]() |
UObject * | GetBrushResource
(
const FSlateBrush& Brush |
Gets the resource object on a brush. |
![]() ![]() |
UMaterialInterface * | GetBrushResourceAsMaterial
(
const FSlateBrush& Brush |
Gets the brush resource as a material. |
![]() ![]() |
UTexture2D * | GetBrushResourceAsTexture2D
(
const FSlateBrush& Brush |
Gets the brush resource as a texture 2D. |
![]() ![]() |
UDragDropOperation * | Returns the drag and drop operation that is currently occurring if any, otherwise nothing. | |
![]() ![]() |
UMaterialInstanceDynamic * | GetDynamicMaterial
(
FSlateBrush& Brush |
Gets the material that allows changes to parameters at runtime. |
![]() ![]() |
FInputEvent | GetInputEventFromCharacterEvent
(
const FCharacterEvent& Event |
|
![]() ![]() |
FInputEvent | GetInputEventFromKeyEvent
(
const FKeyEvent& Event |
|
![]() ![]() |
FInputEvent | GetInputEventFromNavigationEvent
(
const FNavigationEvent& Event |
|
![]() ![]() |
FInputEvent | GetInputEventFromPointerEvent
(
const FPointerEvent& Event |
|
![]() ![]() |
FKeyEvent | GetKeyEventFromAnalogInputEvent
(
const FAnalogInputEvent& Event |
|
![]() ![]() |
void | GetSafeZonePadding
(
UObject* WorldContextObject, |
Gets the amount of padding that needs to be added when accounting for the safe zone on TVs. |
![]() ![]() |
FEventReply | Handled () |
The event reply to use when you choose to handle an event. |
![]() ![]() |
bool | Returns true if a drag/drop event is occurring that a widget can handle. | |
![]() ![]() |
FEventReply | LockMouse
(
FEventReply& Reply, |
|
![]() ![]() |
FSlateBrush | MakeBrushFromAsset
(
USlateBrushAsset* BrushAsset |
Creates a Slate Brush from a Slate Brush Asset |
![]() ![]() |
FSlateBrush | MakeBrushFromMaterial
(
UMaterialInterface* Material, |
Creates a Slate Brush from a Material. |
![]() ![]() |
FSlateBrush | MakeBrushFromTexture
(
UTexture2D* Texture, |
Creates a Slate Brush from a Texture2D |
![]() ![]() |
FSlateBrush | Creates a Slate Brush that wont draw anything, the "Null Brush". | |
![]() ![]() |
FEventReply | ReleaseJoystickCapture
(
FEventReply& Reply, |
|
![]() ![]() |
FEventReply | ReleaseMouseCapture
(
FEventReply& Reply |
|
![]() ![]() |
void | ||
![]() ![]() |
void | SetBrushResourceToMaterial
(
FSlateBrush& Brush, |
Sets the resource on a brush to be a Material. |
![]() ![]() |
void | SetBrushResourceToTexture
(
FSlateBrush& Brush, |
Sets the resource on a brush to be a UTexture2D. |
![]() ![]() |
void | SetColorVisionDeficiencyType
(
EColorVisionDeficiency Type, |
Apply color deficiency correction settings to the game window |
![]() ![]() |
void | ||
![]() ![]() |
bool | SetHardwareCursor
(
UObject* WorldContextObject, |
Loads or sets a hardware cursor from the content directory in the game. |
![]() ![]() |
void | SetInputMode_GameAndUIEx
(
APlayerController* PlayerController, |
Setup an input mode that allows only the UI to respond to user input, and if the UI doesn't handle it player input / player controller gets a chance. |
![]() ![]() |
void | SetInputMode_GameOnly
(
APlayerController* PlayerController, |
Setup an input mode that allows only player input / player controller to respond to user input. |
![]() ![]() |
void | SetInputMode_UIOnlyEx
(
APlayerController* PlayerController, |
Setup an input mode that allows only the UI to respond to user input. |
![]() ![]() |
FEventReply | SetMousePosition
(
FEventReply& Reply, |
|
![]() ![]() |
FEventReply | SetUserFocus
(
FEventReply& Reply, |
|
![]() ![]() |
void | SetWindowTitleBarCloseButtonActive
(
bool bActive |
|
![]() ![]() |
void | ||
![]() ![]() |
void | SetWindowTitleBarState
(
UWidget* TitleBarContent, |
|
![]() ![]() |
FEventReply | Unhandled () |
The event reply to use when you choose not to handle an event. |
![]() ![]() |
FEventReply | UnlockMouse
(
FEventReply& Reply |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FOnGameWindowCloseButtonClickedDelegate |