|
static FLinearColor | GetColorFromPalette (EPalette Color) |
| Returns the FLinearColor value of the given Palette Color. More...
|
|
static FLinearColor | GetColorBasedValue (float ValuePercent, bool bReverseOrder=false) |
| Returns friendly to hostile color based on the value given. More...
|
|
static EPalette | GetPaletteBasedValue (float ValuePercent, bool bReverseOrder=false) |
| Returns friendly to hostile color based on the value given. More...
|
|
static UTexture2D * | GetTextureFromIconLibrary (EIconItem Icon) |
| Returns the texture from the icon library.
|
|
static FVector2D | GetControlDimensions () |
| Returns the control dimensions from the Widget Studio Subsystem.
|
|
static float | GetSizeByModifier (const ESizeModifier Modifier, const float InSize) |
| Modifies and returns the given size based upon the modifier. More...
|
|
static float | GetBorderRadius () |
| Returns the border radius from the Widget Studio Subsystem.
|
|
static UWidgetStudioTheme * | GetCurrentTheme () |
| Returns the current theme in use by the Widget Studio.
|
|
static UWidgetStudioTypography * | GetCurrentTypography () |
| Returns the current typography in use by the Widget Studio.
|
|
static UWidgetStudioIconSet * | GetCurrentIconSet () |
| Returns the current icon set in use by the Widget Studio.
|
|
static bool | SetTheme (const TSoftObjectPtr< UWidgetStudioTheme > NewTheme) |
| Sets the theme to use with the Widget Studio. More...
|
|
static bool | SetTypography (const TSoftObjectPtr< UWidgetStudioTypography > NewTypography) |
| Sets the typography to use with the Widget Studio. More...
|
|
static bool | SetIconSet (const TSoftObjectPtr< UWidgetStudioIconSet > NewIconSet) |
| Sets the icon set to use with the Widget Studio. More...
|
|
static FSlateBrush | GetRoundedSlateBrush () |
| Returns the Widget Studio stylized slate brush. More...
|
|
static FScrollBarStyle | GetScrollBarStyle () |
| Returns the Widget Studio stylized scroll bar style.
|
|
static void | InterpWidgetColor (UUserWidget *Widget, EPalette TargetColor, float Speed) |
| Smoothly interpolate the widget's color and opacity. More...
|
|
static void | InterpImageColor (UImage *Widget, EPalette TargetColor, float Speed) |
| Smoothly interpolate the image widget's color and opacity. More...
|
|
static void | InterpTextColor (UTextBlock *Widget, EPalette TargetColor, float Speed) |
| Smoothly interpolate the text widget's color and opacity. More...
|
|
static void | InterpEditableTextBoxColor (UEditableTextBox *Widget, EPalette TargetColor, float Speed) |
| Smoothly interpolate the text widget's color and opacity. More...
|
|
static void | InterpSizeBoxOverrides (USizeBox *Widget, float TargetWidth, float TargetHeight, float Speed, bool bIgnoreZero=true) |
| Smoothly interpolate the dimension overrides of the size box. More...
|
|
static void | InterpSizeBoxMinOverrides (USizeBox *Widget, float TargetWidth, float TargetHeight, float Speed) |
| Smoothly interpolate the dimension minimum overrides of the size box. More...
|
|
static void | InterpWidgetTranslation (UWidget *Widget, const FVector2D TargetTranslation, const float Speed) |
| Smoothly interpolate the widgets render translation. More...
|
|
static void | InterpWidgetScale (UWidget *Widget, const FVector2D TargetScale, const float Speed) |
| Smoothly interpolate the widgets render translation. More...
|
|
static void | InterpWidgetRotation (UWidget *Widget, const float TargetRotation, const float Speed) |
| Smoothly interpolate the widgets render rotation. More...
|
|
static void | InterpWidgetOpacity (UWidget *Widget, float TargetOpacity, float Speed) |
| Smoothly interpolate the widgets render opacity. More...
|
|
static void | InterpBrushImageSize (UImage *Image, float TargetWidth, float TargetHeight, float Speed) |
| Smoothly interpolate the brush image size. More...
|
|
static UMaterialInterface * | GetRoundedBackgroundMaterial () |
| Return a reference to the Rounded Background Material.
|
|
static UMaterialInterface * | GetRoundedOutlineMaterial () |
| Return a reference to the Rounded Outline Material.
|
|
static UMaterialInterface * | GetRoundedShadowMaterial () |
| Return a reference to the Rounded Shadow Material.
|
|
static UFont * | GetTypefaceFromTypography () |
| Return the current Typeface.
|
|
static bool | ContainsNumbers (FText InText) |
| Checks if the text contains any number.
|
|
static FText | FilterByCharacterLimit (const FText InText, const int32 CharacterLimit) |
| Checks if the text contains any number.
|
|
static FSlateFontInfo | ConstructFontInfoFromTypography (const EWSFontType FontType) |
| Create Font Info from Typography type.
|
|
static FSlateFontInfo | ConstructFontInfoFromStyle (const FFontStyle FontStyle) |
| Create Font Info.
|
|
static FFontStyle | GetTypeScaleFromTypography (const EWSFontType FontType) |
| Returns the type scale from the Typography.
|
|
static FName | GetFontWeightName (EFontWeight FontWeight) |
| Returns the font weight name.
|
|
static float | GetAdjustedPercent (float Value, float Min, float Max) |
| Retrieve adjusted percent float value by converting a given range to [0:1] and a value within that range to 0 <= X <= 1. More...
|
|
A collection of useful Widget Studio functions.