Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | SColorGradientEditor |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/SColorGradientEditor.h |
| Include Path | #include "SColorGradientEditor.h" |
Syntax
class SColorGradientEditor : public SLeafWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SLeafWidget → SColorGradientEditor
- FSlateControlledConstruction → SWidget → SLeafWidget → SColorGradientEditor
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAlphaAreaHovered | bool | Whether or not the alpha gradient stop area is hovered | SColorGradientEditor.h | |
| bClampStopsToViewRange | bool | Whether or not to clamp the time value of stops to the view range. | SColorGradientEditor.h | |
| bColorAreaHovered | bool | Whether or not the color gradient stop area is hovered | SColorGradientEditor.h | |
| bDraggingAlphaValue | bool | True if an alpha value is being dragged | SColorGradientEditor.h | |
| bDraggingStop | bool | True if a gradient stop is being dragged | SColorGradientEditor.h | |
| bDrawColorAndAlphaSeparate | bool | Do we draw a gradient for color and alpha separate or combined? | SColorGradientEditor.h | |
| ContextMenuPosition | FVector2D | Cached position where context menus should appear | SColorGradientEditor.h | |
| CurveOwner | FCurveOwnerInterface * | Interface to the curves being edited | SColorGradientEditor.h | |
| DistanceDragged | float | Current distance dragged since we captured the mouse | SColorGradientEditor.h | |
| IsEditingEnabled | TAttribute< bool > | Whether or not the gradient is editable or just viewed | SColorGradientEditor.h | |
| SelectedStop | FGradientStopMark | The currently selected stop | SColorGradientEditor.h | |
| ViewMaxInput | TAttribute< float > | Current max input value that is visible | SColorGradientEditor.h | |
| ViewMinInput | TAttribute< float > | Current min input value that is visible | SColorGradientEditor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
SColorGradientEditor.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
SColorGradientEditor.h | ||
void SetCurveOwner
(
FCurveOwnerInterface* InCurveOwner |
Sets the curve that is being edited by this editor | SColorGradientEditor.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
SColorGradientEditor.h | ||
| SColorGradientEditor.h | |||
virtual FReply OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
SColorGradientEditor.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
SColorGradientEditor.h | ||
virtual FReply OnMouseButtonUp
(
const FGeometry& MyGeometry, |
SColorGradientEditor.h | ||
virtual void OnMouseCaptureLost
(
const FCaptureLostEvent& CaptureLostEvent |
SColorGradientEditor.h | ||
virtual void OnMouseLeave
(
const FPointerEvent& MouseEvent |
SColorGradientEditor.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
SColorGradientEditor.h | ||
virtual bool SupportsKeyboardFocus() |
SWidget Interface | SColorGradientEditor.h |