Navigation
API > API/Runtime > API/Runtime/UMG
This is the base class for all wrapped Slate controls that are exposed to UObjects.
| Name | UWidget |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
| Include Path | #include "Components/Widget.h" |
Syntax
UCLASS (Abstract, BlueprintType, Blueprintable, CustomFieldNotify, MinimalAPI)
class UWidget :
public UVisual ,
public INotifyFieldValueChanged
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget
Implements Interfaces
Derived Classes
UWidget derived class hierarchy
- UAudioMaterialButton
- UAudioMaterialEnvelope
- UAudioMaterialKnob
- UAudioMaterialMeter
- UAudioMaterialSlider
- UAudioMeter
- UAudioOscilloscope
- UAudioRadialSlider
- UAudioSliderBase
- UAudioVectorscope
- UCircularThrobber
- UComboBox
- UComboBoxKey
- UComboBoxString
- UCommonActionWidget
- UCommonActivatableWidgetContainerBase
- UCommonLazyWidget
- UCommonVideoPlayer
- UCommonWidgetCarouselNavBar
- UDynamicEntryBoxBase
- UEditableText
- UEditableTextBox
- UExpandableArea
- UImage
- UInputKeySelector
- UListViewBase
- UNativeWidgetHost
- UPanelWidget
- UPostBufferUpdate
- UProgressBar
- UPropertyViewBase
- URadialSlider
- UScrollBar
- USlider
- USpacer
- USpinBox
- UTextLayoutWidget
- UThrobber
- UUserWidget
- UVPAssetThumbnailWrapperWidget
- UWebBrowser
- UAssetThumbnailWidget
- UObjectMixerEditorUWidget
- USynth2DSlider
- USynthKnob
- UToolMenuWidget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWidget
(
const FObjectInitializer& ObjectInitializer |
Components/Widget.h |
Classes
| Name | Remarks |
|---|---|
| FGenerateWidgetForObject | |
| FGenerateWidgetForString | Events. |
| FGetBool | Common Bindings - If you add any new common binding, you must provide a UPropertyBinding for it. |
| FGetCheckBoxState | |
| FGetFloat | |
| FGetInt32 | |
| FGetLinearColor | |
| FGetMouseCursor | |
| FGetSlateBrush | |
| FGetSlateColor | |
| FGetSlateVisibility | |
| FGetText | |
| FGetWidget | |
| FOnPointerEvent | |
| FOnReply | Events. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ConstructMethodType | TFunctionRef< TSharedPtr< SObjectWidget >(UUserWidget *, TSharedRef< SWidget >)> | Components/Widget.h | |
| FOnWidgetStateBroadcast | TMulticastDelegate_TwoParams< void, UWidget *, const FWidgetStateBitfield & > | Components/Widget.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BinderClasses | TArray< TSubclassOf< UPropertyBinding > > | Components/Widget.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccessibleBehavior | ESlateAccessibleBehavior | Whether or not the widget is accessible, and how to describe it. | Components/Widget.h |
|
| AccessibleSummaryBehavior | ESlateAccessibleBehavior | How to describe this widget when it's being presented through a summary of a parent widget. | Components/Widget.h |
|
| AccessibleSummaryText | FText | When AccessibleSummaryBehavior is set to Custom, this is the text that will be used to describe the widget. | Components/Widget.h |
|
| AccessibleSummaryTextDelegate | USlateAccessibleWidgetData::FGetText | An optional delegate that may be assigned in place of AccessibleSummaryText for creating a TAttribute | Components/Widget.h | |
| AccessibleText | FText | When AccessibleBehavior is set to Custom, this is the text that will be used to describe the widget. | Components/Widget.h |
|
| AccessibleTextDelegate | USlateAccessibleWidgetData::FGetText | An optional delegate that may be assigned in place of AccessibleText for creating a TAttribute | Components/Widget.h | |
| bCanChildrenBeAccessible | uint8 | Whether or not children of this widget can appear as distinct accessible widgets. | Components/Widget.h |
|
| bCreatedByConstructionScript | uint8 | Flag if the Widget was created from a blueprint | Components/Widget.h |
|
| bExpandedInDesigner | uint8 | Stores the design time flag setting if the widget is expanded inside the designer | Components/Widget.h | |
| bHiddenInDesigner | uint8 | Stores the design time flag setting if the widget is hidden inside the designer | Components/Widget.h | |
| bIsEnabled | uint8 | Sets whether this widget can be modified interactively by the user | Components/Widget.h |
|
| bIsEnabledDelegate | FGetBool | A bindable delegate for bIsEnabled | Components/Widget.h | |
| bIsVariable | uint8 | Allows controls to be exposed as variables in a blueprint. | Components/Widget.h | |
| bLockedInDesigner | uint8 | Stores the design time flag setting if the widget is locked inside the designer | Components/Widget.h | |
| bOverride_Cursor | uint8 | Components/Widget.h |
|
|
| bOverrideAccessibleDefaults | uint8 | These editor-only properties exist for two reasons: | Components/Widget.h |
|
| bWrappedByComponent | uint8 | True if the SWidget should be Wrapped in a Component | Components/Widget.h |
|
| Clipping | EWidgetClipping | Controls how the clipping behavior of this widget. | Components/Widget.h |
|
| Cursor | TEnumAsByte< EMouseCursor::Type > | The cursor to show when the mouse is over the widget | Components/Widget.h |
|
| FlowDirectionPreference | EFlowDirectionPreference | Allows you to set a new flow direction | Components/Widget.h |
|
| Navigation | TObjectPtr< class UWidgetNavigation > | The navigation object for this widget is optionally created if the user has configured custom navigation rules for this widget in the widget designer. | Components/Widget.h |
|
| RenderTransform | FWidgetTransform | The render transform of the widget allows for arbitrary 2D transforms to be applied to the widget. | Components/Widget.h |
|
| RenderTransformPivot | FVector2D | The render transform pivot controls the location about which transforms are applied. | Components/Widget.h |
|
| Slot | TObjectPtr< UPanelSlot > | The parent slot of the UWidget. | Components/Widget.h |
|
| ToolTipText | FText | Tooltip text to show when the user hovers over the widget with the mouse | Components/Widget.h |
|
| ToolTipTextDelegate | FGetText | A bindable delegate for ToolTipText | Components/Widget.h | |
| ToolTipWidget | TObjectPtr< UWidget > | Tooltip widget to show when the user hovers over the widget with the mouse | Components/Widget.h |
|
| ToolTipWidgetDelegate | FGetWidget | A bindable delegate for ToolTipWidget | Components/Widget.h | |
| UGameViewportSubsystem | friend | Components/Widget.h | ||
| Visibility | ESlateVisibility | The visibility of the widget | Components/Widget.h |
|
| VisibilityDelegate | FGetSlateVisibility | A bindable delegate for Visibility | Components/Widget.h | |
| WidgetGeneratedBy | TWeakObjectPtr< UObject > | Stores a reference to the asset responsible for this widgets construction. | Components/Widget.h | |
| WidgetGeneratedByClass | TWeakObjectPtr< UClass > | Stores a reference to the class responsible for this widgets construction. | Components/Widget.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccessibleWidgetData | TObjectPtr< USlateAccessibleWidgetData > | A custom set of accessibility rules for this widget. | Components/Widget.h |
|
| bRoutedSynchronizeProperties | bool | Did we route the synchronize properties call? | Components/Widget.h | |
| CategoryName | FString | Category name used in the widget designer for sorting purpose | Components/Widget.h | |
| DesignerFlags | uint8 | Any flags used by the designer at edit time. | Components/Widget.h |
|
| DesignWrapperWidget | TWeakPtr< SWidget > | The underlying SWidget for the design time wrapper widget. | Components/Widget.h | |
| DisplayLabel | FString | The friendly name for this widget displayed in the designer and BP graph. | Components/Widget.h | |
| EnabledFieldNotifications | TBitArray | Components/Widget.h | ||
| K2_Cache_AccessibleSummaryText | FText | Components/Widget.h | ||
| K2_Cache_AccessibleText | FText | Components/Widget.h | ||
| K2_Cache_bIsEnabled | bool | Components/Widget.h | ||
| K2_Cache_ToolTipText | FText | Components/Widget.h | ||
| PixelSnapping | EWidgetPixelSnapping | If the widget will draw snapped to the nearest pixel. | Components/Widget.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddBinding
(
FDelegateProperty* DelegateProperty, |
Components/Widget.h | ||
void BuildNavigation () |
Called by the owning user widget after the slate widget has been created. | Components/Widget.h | |
bool CanSafelyRouteEvent() |
Components/Widget.h | ||
bool CanSafelyRoutePaint() |
Components/Widget.h | ||
virtual void ConnectEditorData() |
Allows general fixups and connections only used at editor time. | Components/Widget.h | |
void CreatedFromPalette() |
Called by the palette after constructing a new widget. | Components/Widget.h | |
void DeselectByDesigner() |
Components/Widget.h | ||
void ForceLayoutPrepass () |
Forces a pre-pass. | Components/Widget.h |
|
void ForceVolatile
(
bool bForce |
Sets the forced volatility of the widget. | Components/Widget.h |
|
FText GetAccessibleSummaryText() |
Gets the accessible summary text from the underlying Slate accessible widget. | Components/Widget.h |
|
FText GetAccessibleText() |
Gets the accessible text from the underlying Slate accessible widget | Components/Widget.h |
|
const FGeometry & GetCachedGeometry () |
Gets the last geometry used to Tick the widget. | Components/Widget.h |
|
TSharedPtr< SWidget > GetCachedWidget() |
Gets the last created widget from RebuildWidget does not recreate the gc container for the widget if one is needed. | Components/Widget.h | |
TSharedPtr< SWidget > GetCachedWrappedWidget() |
Gets the last created widget from RebuildDesignWidget does not recreate the gc container for the widget if one is needed. | Components/Widget.h | |
const FString & GetCategoryName() |
Returns the category name of the widget | Components/Widget.h | |
EWidgetClipping GetClipping() |
Gets the clipping state of this widget. | Components/Widget.h |
|
EMouseCursor::Type GetCursor() |
Sets the cursor to show over the widget. | Components/Widget.h | |
EWidgetDesignFlags GetDesignerFlags() |
Gets the designer flags currently set on the widget. | Components/Widget.h | |
FVector2D GetDesiredSize () |
Gets the widgets desired size. | Components/Widget.h |
|
const FString & GetDisplayLabel() |
Returns the friendly name of the widget to display in the editor | Components/Widget.h | |
EFlowDirectionPreference GetFlowDirectionPreference() |
Gets the flow direction preference of the widget | Components/Widget.h | |
TGameInstance * GetGameInstance () |
Gets the game instance associated with this UI. | Components/Widget.h | |
| Gets the game instance associated with this UI. | Components/Widget.h |
|
|
bool GetIsEnabled() |
Gets the current enabled status of the widget | Components/Widget.h |
|
virtual FString GetLabelMetadata() |
Get Label Metadata, which may be as simple as a bit of string data to help identify an anonymous text block. | Components/Widget.h | |
FText GetLabelText() |
Gets the label to display to the user for this widget. | Components/Widget.h | |
FText GetLabelTextWithMetadata() |
Gets the label to display to the user for this widget, including any extra metadata like the text string for text. | Components/Widget.h | |
T * GetOwningLocalPlayer () |
Gets the local player associated with this UI cast to the template type. | Components/Widget.h | |
virtual ULocalPlayer * GetOwningLocalPlayer () |
Gets the local player associated with this UI. | Components/Widget.h |
|
TPlayerController * GetOwningPlayer () |
Gets the player controller associated with this UI cast to the template type. | Components/Widget.h | |
virtual APlayerController * GetOwningPlayer () |
Gets the player controller associated with this UI. | Components/Widget.h |
|
const FGeometry & GetPaintSpaceGeometry() |
Components/Widget.h |
|
|
virtual const FText GetPaletteCategory() |
Gets the palette category of the widget | Components/Widget.h | |
UPanelWidget * GetParent() |
Gets the parent widget | Components/Widget.h |
|
EWidgetPixelSnapping GetPixelSnapping() |
Gets the pixel snapping method of this widget. | Components/Widget.h | |
float GetRenderOpacity() |
Gets the current visibility of the widget. | Components/Widget.h |
|
const FWidgetTransform & GetRenderTransform() |
Components/Widget.h | ||
float GetRenderTransformAngle() |
Components/Widget.h |
|
|
FVector2D GetRenderTransformPivot() |
Components/Widget.h | ||
const FGeometry & GetTickSpaceGeometry() |
Components/Widget.h |
|
|
UWidget * GetToolTip() |
Components/Widget.h | ||
FText GetToolTipText() |
Components/Widget.h | ||
ESlateVisibility GetVisibility() |
Gets the current visibility of the widget. | Components/Widget.h |
|
virtual UWorld * GetWorld() |
Components/Widget.h | ||
bool HasAnyDesignerFlags
(
EWidgetDesignFlags FlagsToCheck |
Tests if any of the flags exist on this widget. | Components/Widget.h | |
bool HasAnyUserFocus() |
Returns true if this widget is focused by any user. | Components/Widget.h |
|
bool HasFocusedDescendants() |
Returns true if any descendant widget is focused by any user. | Components/Widget.h |
|
bool HasKeyboardFocus() |
Checks to see if this widget currently has the keyboard focus | Components/Widget.h |
|
bool HasMouseCapture() |
Checks to see if this widget is the current mouse captor | Components/Widget.h |
|
bool HasMouseCaptureByUser
(
int32 UserIndex, |
Checks to see if this widget is the current mouse captor | Components/Widget.h |
|
bool HasUserFocus
(
APlayerController* PlayerController |
Returns true if this widget is focused by a specific user. | Components/Widget.h |
|
bool HasUserFocusedDescendants
(
APlayerController* PlayerController |
Returns true if any descendant widget is focused by a specific user. | Components/Widget.h |
|
void InvalidateLayoutAndVolatility () |
Invalidates the widget from the view of a layout caching widget that may own this widget. | Components/Widget.h |
|
bool IsChildOf
(
UWidget* PossibleParent |
Recurses up the list of parents and returns true if this widget is a descendant of the PossibleParent | Components/Widget.h | |
bool IsConstructed() |
Gets the last created widget does not recreate the gc container for the widget if one is needed. | Components/Widget.h | |
bool IsDesignTime() |
Returns if the widget is currently being displayed in the designer, it may want to display different data. | Components/Widget.h | |
bool IsGeneratedName() |
Is the label generated or provided by the user? | Components/Widget.h | |
virtual bool IsHovered() |
Returns true if the widget is currently being hovered by a pointer device | Components/Widget.h |
|
bool IsInViewport() |
Components/Widget.h |
|
|
bool IsLockedInDesigner() |
Is this widget locked in the designer UI | Components/Widget.h | |
bool IsPreviewTime() |
Components/Widget.h | ||
bool IsRendered() |
Returns true if the widget is Visible, HitTestInvisible or SelfHitTestInvisible and the Render Opacity is greater than 0. | Components/Widget.h |
|
bool IsVisible() |
Returns true if the widget is Visible, HitTestInvisible or SelfHitTestInvisible. | Components/Widget.h |
|
bool IsVisibleInDesigner() |
Is the widget visible in the designer? If this widget is 'hidden in the designer' or a parent is, this widget will also return false here. | Components/Widget.h | |
void K2_AddFieldValueChangedDelegate
(
FFieldNotificationId FieldId, |
Components/Widget.h |
|
|
void K2_RemoveFieldValueChangedDelegate
(
FFieldNotificationId FieldId, |
Components/Widget.h |
|
|
virtual void OnBeginEditByDesigner() |
Components/Widget.h | ||
virtual void OnCreationFromPalette () |
Called after constructing a new widget from the palette. | Components/Widget.h | |
virtual void OnDescendantDeselectedByDesigner
(
UWidget* DescendantWidget |
Components/Widget.h | ||
virtual void OnDescendantSelectedByDesigner
(
UWidget* DescendantWidget |
Components/Widget.h | ||
virtual void OnDeselectedByDesigner() |
Components/Widget.h | ||
virtual void OnDesignerChanged
(
const FDesignerChangedEventArgs& EventArgs |
Components/Widget.h | ||
virtual void OnEndEditByDesigner() |
Components/Widget.h | ||
virtual void OnSelectedByDesigner() |
Components/Widget.h | ||
FDelegateHandle RegisterPostStateListener
(
const FOnWidgetStateBroadcast::FDelegate& ListenerDelegate, |
Add a post-state-changed listener to this widget, will fire after a state changed and all related side effects are resolved. | Components/Widget.h | |
virtual void RemoveFromParent () |
Removes the widget from its parent widget. | Components/Widget.h |
|
void ResetCursor() |
Resets the cursor to use on the widget, removing any customization for it. | Components/Widget.h |
|
void SelectByDesigner() |
Begin Designer contextual events. | Components/Widget.h | |
void SetAllNavigationRules
(
EUINavigationRule Rule, |
Sets the widget navigation rules for all directions. | Components/Widget.h |
|
void SetCategoryName
(
const FString& InValue |
Sets the category name of the widget | Components/Widget.h | |
void SetClipping
(
EWidgetClipping InClipping |
Sets the clipping state of this widget. | Components/Widget.h |
|
void SetCursor
(
EMouseCursor::Type InCursor |
Sets the cursor to show over the widget. | Components/Widget.h |
|
virtual void SetDesignerFlags
(
EWidgetDesignFlags NewFlags |
Sets the designer flags on the widget. | Components/Widget.h | |
void SetDisplayLabel
(
const FString& DisplayLabel |
Sets the friendly name of the widget to display in the editor | Components/Widget.h | |
void SetFlowDirectionPreference
(
EFlowDirectionPreference FlowDirection |
Sets the flow direction preference of the widget | Components/Widget.h | |
void SetFocus() |
Sets the focus to this widget for the owning user | Components/Widget.h |
|
virtual void SetIsEnabled
(
bool bInIsEnabled |
Sets the current enabled status of the widget | Components/Widget.h |
|
void SetKeyboardFocus() |
Sets the focus to this widget. | Components/Widget.h |
|
virtual void SetLockedInDesigner
(
bool NewLockedInDesigner |
Components/Widget.h | ||
void SetNavigationMethod
(
const TInstancedStruct< FNavigationMethod >& NavigationMethod |
Sets the widget navigation method for this widget hierarchy. | Components/Widget.h | |
void SetNavigationRule
(
EUINavigation Direction, |
Sets the widget navigation rules for a specific direction. | Components/Widget.h |
|
void SetNavigationRuleBase
(
EUINavigation Direction, |
Sets the widget navigation rules for a specific direction. | Components/Widget.h |
|
void SetNavigationRuleCustom
(
EUINavigation Direction, |
Sets the widget navigation rules for a specific direction. | Components/Widget.h |
|
void SetNavigationRuleCustomBoundary
(
EUINavigation Direction, |
Sets the widget navigation rules for a specific direction. | Components/Widget.h |
|
void SetNavigationRuleExplicit
(
EUINavigation Direction, |
Sets the widget navigation rules for a specific direction. | Components/Widget.h |
|
void SetPixelSnapping
(
EWidgetPixelSnapping InPixelSnapping |
Sets the pixel snapping method of this widget. | Components/Widget.h | |
void SetRenderOpacity
(
float InOpacity |
Sets the visibility of the widget. | Components/Widget.h |
|
void SetRenderScale
(
FVector2D Scale |
Components/Widget.h |
|
|
void SetRenderShear
(
FVector2D Shear |
Components/Widget.h |
|
|
void SetRenderTransform
(
FWidgetTransform InTransform |
Components/Widget.h |
|
|
void SetRenderTransformAngle
(
float Angle |
Components/Widget.h |
|
|
void SetRenderTransformPivot
(
FVector2D Pivot |
Components/Widget.h |
|
|
void SetRenderTranslation
(
FVector2D Translation |
Components/Widget.h |
|
|
void SetToolTip
(
UWidget* Widget |
Sets a custom widget as the tooltip of the widget. | Components/Widget.h |
|
void SetToolTipText
(
const FText& InToolTipText |
Sets the tooltip text for the widget. | Components/Widget.h |
|
void SetUserFocus
(
APlayerController* PlayerController |
Sets the focus to this widget for a specific user (if setting focus for the owning user, prefer SetFocus()) | Components/Widget.h |
|
virtual void SetVisibility
(
ESlateVisibility InVisibility |
Sets the visibility of the widget. | Components/Widget.h |
|
virtual void SynchronizeProperties () |
Applies all properties to the native widget if possible. | Components/Widget.h | |
TSharedRef< WidgetType > TakeDerivedWidget
(
ConstructMethodType ConstructMethod |
Components/Widget.h | ||
TSharedRef< SWidget > TakeWidget () |
Gets the underlying slate widget or constructs it if it doesn't exist. | Components/Widget.h | |
UE_FIELD_NOTIFICATION_DECLARE_CLASS_DESCRIPTOR_BASE_BEGIN
(
UMG_API |
Components/Widget.h | ||
UMG_APIUMG_API UE_FIELD_NOTIFICATION_DECLARE_ENUM_FIELD_BEGIN
(
ToolTipText |
Components/Widget.h | ||
UMG_API UE_FIELD_NOTIFICATION_DECLARE_FIELD
(
Visibility, |
Components/Widget.h | ||
void UnregisterPostStateListener
(
const FDelegateHandle& ListenerDelegate |
Remove a post-state-changed listener from this widget, resets state bitfield if no other state listeners exist | Components/Widget.h | |
virtual void ValidateCompiledDefaults
(
IWidgetCompilerLog& CompileLog |
Called at the end of Widget Blueprint compilation. | Components/Widget.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
Components/Widget.h | ||
virtual void FinishDestroy() |
Components/Widget.h | ||
virtual bool Modify
(
bool bAlwaysMarkDirty |
Mark this object as modified, also mark the slot as modified. | Components/Widget.h | |
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Components/Widget.h | ||
virtual void PreSave
(
FObjectPreSaveContext ObjectSaveContext |
Components/Widget.h |
Overridden from INotifyFieldValueChanged
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FDelegateHandle AddFieldValueChangedDelegate
(
UE::FieldNotification::FFieldId InFieldId, |
Components/Widget.h | ||
virtual void BroadcastFieldValueChanged
(
UE::FieldNotification::FFieldId InFieldId |
Components/Widget.h | ||
virtual int32 RemoveAllFieldValueChangedDelegates
(
FDelegateUserObjectConst InUserObject |
Components/Widget.h | ||
virtual int32 RemoveAllFieldValueChangedDelegates
(
UE::FieldNotification::FFieldId InFieldId, |
Components/Widget.h | ||
virtual bool RemoveFieldValueChangedDelegate
(
UE::FieldNotification::FFieldId InFieldId, |
Components/Widget.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BroadcastBinaryPostStateChange
(
const FWidgetStateBitfield& StateChange, |
Broadcast a binary state post change | Components/Widget.h | |
void BroadcastEnumPostStateChange
(
const FWidgetStateBitfield& StateChange |
Broadcast an enum state post change | Components/Widget.h | |
bool CanSafelyRouteCall() |
Components/Widget.h | ||
TOptional< float > ConvertFloatToOptionalFloat
(
TAttribute< float > InFloat |
Components/Widget.h | ||
FSlateColor ConvertLinearColorToSlateColor
(
TAttribute< FLinearColor > InLinearColor |
Components/Widget.h | ||
EVisibility ConvertVisibility
(
TAttribute< ESlateVisibility > SerializedType |
TODO UMG Consider moving conversion functions into another class. Conversion functions | Components/Widget.h | |
TSharedRef< SWidget > CreateDesignerOutline
(
TSharedRef< SWidget > Content |
Components/Widget.h | ||
virtual TSharedPtr< SWidget > GetAccessibleWidget() |
Gets the widget that accessibility properties should synchronize to. | Components/Widget.h | |
FText GetDisplayNameBase() |
Gets the base name used to generate the display label/name of this widget. | Components/Widget.h | |
UObject * GetSourceAssetOrClass() |
Components/Widget.h | ||
EVisibility GetVisibilityInDesigner() |
This is an implementation detail that allows us to show and hide the widget in the designer regardless of the actual visibility state set by the user. | Components/Widget.h | |
bool IsEditorWidget() |
Components/Widget.h | ||
void K2_BroadcastFieldValueChanged
(
FFieldNotificationId FieldId |
Components/Widget.h |
|
|
virtual void OnBindingChanged
(
const FName& Property |
Components/Widget.h | ||
virtual void OnWidgetRebuilt() |
Function called after the underlying SWidget is constructed. | Components/Widget.h | |
virtual TSharedRef< SWidget > RebuildDesignWidget
(
TSharedRef< SWidget > Content |
Components/Widget.h | ||
virtual TSharedRef< SWidget > RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | Components/Widget.h | |
void SetNavigationRuleInternal
(
EUINavigation Direction, |
Components/Widget.h | ||
void SetVisibilityInternal
(
ESlateVisibility InVisibility |
Components/Widget.h | ||
void SynchronizeAccessibleData() |
Copy all accessible properties to the AccessibleWidgetData object | Components/Widget.h | |
void UpdateRenderTransform() |
Components/Widget.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static ESlateVisibility ConvertRuntimeToSerializedVisibility
(
const EVisibility& Input |
Components/Widget.h | ||
static FSizeParam ConvertSerializedSizeParamToRuntime
(
const FSlateChildSize& Input |
Components/Widget.h | ||
static EVisibility ConvertSerializedVisibilityToRuntime
(
ESlateVisibility Input |
End Designer contextual events. | Components/Widget.h | |
static TSubclassOf< UPropertyBinding > FindBinderClassForDestination
(
FProperty* Property |
Components/Widget.h | ||
| Components/Widget.h | |||
static FString GetDefaultFontName() |
Components/Widget.h |