SFxWidget

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

Choose your operating system:

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

Constructors

Name Description

Public function

SFxWidget()

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function

void

 

SetRenderScale

(
    TAttribute< float > InScale
)

Public function

void

 

SetRenderScale

(
    float InScale
)

Public function

void

 

SetVisualOffset

(
    TAttribute< FVector2D > InOffset
)

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