Language:
Discover
By Skill Level
By Category

SColorGradientEditor

Choose your OS:

Inheritance Hierarchy

Syntax

class SColorGradientEditor : public SLeafWidget

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments & InArgs
)

Public function

void

 

SetCurveOwner

(
    FCurveOwnerInterface * InCurveO...
)

Sets the curve that is being edited by this editor

Overridden from SWidget

Name Description

Public function Virtual

FVector2D

 

ComputeDesiredSize

(
    float
)

Overwritten from SWidget .

Public function Virtual

FReply

 

OnKeyDown

(
    const FGeometry & MyGeometry,
    const FKeyEvent & InKeyEvent
)

Called after a key is pressed when this widget has focus (this event bubbles if not handled)

Public function Virtual

FReply

 

OnMouseButtonDoubleClick

(
    const FGeometry & InMyGeometry,
    const FPointerEvent & InMouseEvent
)

Called when a mouse button is double clicked.

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

void

 

OnMouseLeave

(
    const FPointerEvent & MouseEvent
)

The system will use this event to notify a widget that the cursor has left 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

int32

 

OnPaint

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

Begin SWidget overrides.

Public function Virtual

bool

 

SupportsKeyboardFocus()

SWidget Interface

Classes

Name

Description

Public struct

FArguments

Constants

Name

Description

HandleRect

Local space rectangle of each gradient stop handle

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/SColorGradientEditor.h