SComplexGradient

Implements a Slate widget that renders a color gradient consisting of multiple stops.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AppFramework

Header

/Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SComplexGradient.h

Include

#include "Widgets/Colors/SComplexGradient.h"

Syntax

class SComplexGradient : public SCompoundWidget

Remarks

Implements a Slate widget that renders a color gradient consisting of multiple stops.

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Construct this widget

Overridden from SWidget

Name Description

Protected function Virtual Const

int32

 

OnPaint

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

The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children.

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