Navigation
API > API/Runtime > API/Runtime/Slate
Enables visual effects (zooming, sliding, fading, etc.) to be applied to arbitrary widget content.
Unless specified properties do not affect layout.
| Name | SFxWidget |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SFxWidget.h |
| Include Path | #include "Widgets/Layout/SFxWidget.h" |
Syntax
class SFxWidget : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SFxWidget
- FSlateControlledConstruction → SWidget → SCompoundWidget → SFxWidget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SFxWidget() |
Widgets/Layout/SFxWidget.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Widgets/Layout/SFxWidget.h | ||
void SetRenderScale
(
TAttribute< float > InScale |
Widgets/Layout/SFxWidget.h | ||
void SetRenderScale
(
float InScale |
Widgets/Layout/SFxWidget.h | ||
void SetVisualOffset
(
TAttribute< FVector2D > InOffset |
Widgets/Layout/SFxWidget.h | ||
void SetVisualOffset
(
FVector InOffset |
Widgets/Layout/SFxWidget.h |
Protected
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
Widgets/Layout/SFxWidget.h | ||
virtual void OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Widgets/Layout/SFxWidget.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
This widget was created before render transforms existed for each widget, and it chose to apply the render transform AFTER the layout transform. | Widgets/Layout/SFxWidget.h |