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