SWindow::MorphToShape

Animate the window to TargetOpacity and TargetShape over a short period of time

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

void MorphToShape
(
    const FCurveSequence & Sequence,
    const float TargetOpacity,
    const FSlateRect & TargetShape
)

Remarks

Animate the window to TargetOpacity and TargetShape over a short period of time