SFxWidget

Enables visual effects (zooming, sliding, fading, etc.) to be applied to arbitrary widget content.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SFxWidget.h

Include

#include "Widgets/Layout/SFxWidget.h"

Syntax

class SFxWidget : public SCompoundWidget

Remarks

Enables visual effects (zooming, sliding, fading, etc.) to be applied to arbitrary widget content.

Unless specified properties do not affect layout.

Variables

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function

void

 

SetColorAndOpacity

(
    const TAttribute< FLinearColor >& ...
)

Public function

void

 

SetColorAndOpacity

(
    FLinearColor InColorAndOpacity
)

Public function

void

 

SetRenderScale

(
    const TAttribute< float >& InScale
)

Public function

void

 

SetRenderScale

(
    float InScale
)

Public function

void

 

SetVisualOffset

(
    const TAttribute< FVector2D >& InO...
)

Public function

void

 

SetVisualOffset

(
    FVector InOffset
)

Overridden from SWidget

Name Description

Protected function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float LayoutScaleMultiplier
)

Compute the ideal size necessary to display this widget.

Protected function Virtual Const

void

 

OnArrangeChildren

(
    const FGeometry& AllottedGeometry,
    FArrangedChildren& ArrangedChildre...
)

Compute the Geometry of all the children and add populate the ArrangedChildren list with their values.

Protected function Virtual Const

int32

 

OnPaint

(
    const FPaintArgs& Args,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

This widget was created before render transforms existed for each widget, and it chose to apply the render transform AFTER the layout transform.

Classes

Name

Description

Public struct

FArguments

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss