SColorGradingWheel

Implements the color wheel widget.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Colors/SColorGradingWheel.h

Include

#include "Widgets/Colors/SColorGradingWheel.h"

Syntax

class SColorGradingWheel : public SLeafWidget

Remarks

Implements the color wheel widget.

Variables

Name Description

Protected variable

TAttribute< int...

 

DesiredWheelSize

Protected variable

TAttribute< flo...

 

ExponentDisplacement

Protected variable

const FSlateBru...

 

Image

The color wheel image to show.

Protected variable

FOnColorGrading...

 

OnMouseCaptureBegin

Invoked when the mouse is pressed and a capture begins.

Protected variable

FOnColorGrading...

 

OnMouseCaptureEnd

Invoked when the mouse is let up and a capture ends.

Protected variable

FOnColorGrading...

 

OnValueChanged

Invoked when a new value is selected on the color wheel.

Protected variable

TAttribute< FLi...

 

SelectedColor

The current color selected by the user.

Protected variable

const FSlateBru...

 

SelectorImage

The color selector image to show.

Functions

Name Description

Protected function Const

FVector2D

 

CalcRelativePositionFromCenter()

Calculates the position of the color selection indicator.

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Construct this widget.

Protected function

bool

 

ProcessMouseAction

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent,
    bool bProcessWhenOutsideColorWheel
)

Performs actions according to mouse click / move

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float
)

Overwritten from SWidget.

Public function Virtual

FReply

 

OnMouseButtonDoubleClick

(
    const FGeometry& InMyGeometry,
    const FPointerEvent& InMouseEvent
)

Called when a mouse button is double clicked. Override this in derived classes.

Public function Virtual

FReply

 

OnMouseButtonDown

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it.

Public function Virtual

FReply

 

OnMouseButtonUp

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system calls this method to notify the widget that a mouse button was release within it.

Public function Virtual

FReply

 

OnMouseMove

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system calls this method to notify the widget that a mouse moved within it.

Public function Virtual Const

int32

 

OnPaint

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

Overwritten from SWidget.

Classes

Name

Description

Public struct

FArguments

Typedefs

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