Navigation
API > API/Editor > API/Editor/CurveEditor
Serializable options for curve editor.
| Name | UCurveEditorSettings |
| Type | class |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveEditorSettings.h |
| Include Path | #include "CurveEditorSettings.h" |
Syntax
UCLASS (MinimalAPI, Config=EditorPerProjectUserSettings)
class UCurveEditorSettings : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCurveEditorSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCurveEditorSettings() |
CurveEditorSettings.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnAxisSnappingChanged | TMulticastDelegate_NoParams< void > | CurveEditorSettings.h | |
| FOnCustomColorsChanged | TMulticastDelegate_NoParams< void > | CurveEditorSettings.h | |
| FOnShowValueIndicatorsChanged | TMulticastDelegate_NoParams< void > | CurveEditorSettings.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnAxisSnappingChangedEvent | FOnAxisSnappingChanged | CurveEditorSettings.h | ||
| OnCustomColorsChangedEvent | FOnCustomColorsChanged | CurveEditorSettings.h | ||
| OnShowValueIndicatorsChangedEvent | FOnShowValueIndicatorsChanged | CurveEditorSettings.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AllowMouseEdit
(
const FPointerEvent& MouseEvent |
CurveEditorSettings.h | ||
bool AllowMousePan
(
const FPointerEvent& MouseEvent |
Get whether the mouse event allows panning or editing | CurveEditorSettings.h | |
| Delete Custom Color for the specified parameters. | CurveEditorSettings.h | ||
void DeleteSpaceSwitchColor
(
const FString& InControlName |
Delete Custom Space Switch Color for the specified control name. | CurveEditorSettings.h | |
bool GetAutoFrameCurveEditor() |
Gets whether or not the curve editor auto frames the selected curves. | CurveEditorSettings.h | |
TOptional< FLinearColor > GetCustomColor
(
UClass* InClass, |
Get custom color for object and property if it exists, if it doesn't the optional won't be set | CurveEditorSettings.h | |
int32 GetFrameInputPadding() |
Gets the number of pixels to pad input framing | CurveEditorSettings.h | |
int32 GetFrameOutputPadding() |
Gets the number of pixels to pad output framing | CurveEditorSettings.h | |
float GetMarqueePointSensitivity() |
Gets how sensitive the selection marquee should be when selecting points. | CurveEditorSettings.h | |
FOnAxisSnappingChanged & GetOnAxisSnappingChanged() |
Gets the multicast delegate which is run whenever axis snapping has changed. | CurveEditorSettings.h | |
FOnCustomColorsChanged & GetOnCustomColorsChanged() |
Gets the multicast delegate which is run whenever custom colors have changed. | CurveEditorSettings.h | |
bool GetScrubTimeStartFromCursor() |
Gets whether or not scrubbing time hot key starts from cursor. | CurveEditorSettings.h | |
FLinearColor GetSelectionColor() |
Get the selection color. | CurveEditorSettings.h | |
bool GetShowBars() |
Gets whether or not the curve editor shows key bar style curves, like for constraints and spaces. | CurveEditorSettings.h | |
bool GetShowBufferedCurves() |
Gets whether or not to show buffered curves in the curve editor. | CurveEditorSettings.h | |
bool GetShowCurveEditorCurveToolTips() |
Gets whether or not to show curve tool tips in the curve editor. | CurveEditorSettings.h | |
bool GetShowValueIndicators() |
CurveEditorSettings.h | ||
ECurveEditorSnapAxis GetSnapAxis() |
Get snap axis. | CurveEditorSettings.h | |
bool GetSnapTimeToSelection() |
Get whether to snap the time to the currently selected key. | CurveEditorSettings.h | |
TOptional< FLinearColor > GetSpaceSwitchColor
(
const FString& InControlName |
Get custom color for space name. | CurveEditorSettings.h | |
ECurveEditorTangentVisibility GetTangentVisibility() |
Gets the current tangent visibility. | CurveEditorSettings.h | |
float GetTreeViewWidth() |
Gets the tree view width percentage | CurveEditorSettings.h | |
ECurveEditorZoomPosition GetZoomPosition() |
Get zoom in/out position (mouse position or current time). | CurveEditorSettings.h | |
FOnShowValueIndicatorsChanged & OnShowValueIndicatorsChanged() |
Gets the multicast delegate which is run whenever showing the value indicator lines has changed. | CurveEditorSettings.h | |
void SetAutoFrameCurveEditor
(
bool InbAutoFrameCurveEditor |
Sets whether or not the curve editor auto frames the selected curves. | CurveEditorSettings.h | |
void SetCustomColor
(
UClass* InClass, |
Set Custom Color for the specified parameters. | CurveEditorSettings.h | |
void SetFrameInputPadding
(
int32 InFrameInputPadding |
Sets the number of pixels to pad input framing | CurveEditorSettings.h | |
void SetFrameOutputPadding
(
int32 InFrameOutputPadding |
Sets the number of pixels to pad output framing | CurveEditorSettings.h | |
void SetMarqueePointSensitivity
(
float InMarqueePointSensitivity |
Sets how sensitive the selection marquee should be when selecting points. | CurveEditorSettings.h | |
void SetScrubTimeStartFromCursor
(
bool bInValue |
Sets whether or not scrubbing time hot key starts from cursor. | CurveEditorSettings.h | |
void SetSelectionColor
(
const FLinearColor& InColor |
Set the selection color. | CurveEditorSettings.h | |
void SetShowBars
(
bool InShowBars |
Sets whether or not the curve editor shows key bar style curves, like for constraints and spaces. | CurveEditorSettings.h | |
void SetShowBufferedCurves
(
bool InbShowBufferedCurves |
Sets whether or not to show buffered curves in the curve editor. | CurveEditorSettings.h | |
void SetShowCurveEditorCurveToolTips
(
bool InbShowCurveEditorCurveToolTips |
Sets whether or not to show curve tool tips in the curve editor. | CurveEditorSettings.h | |
void SetShowValueIndicators
(
bool bValue |
Sets whether to draw a value indicator line for the minimum and maximum key in the selected key range. | CurveEditorSettings.h | |
void SetSnapAxis
(
ECurveEditorSnapAxis InSnapAxis |
Set snap axis. | CurveEditorSettings.h | |
void SetSnapTimeToSelection
(
bool bInSnapTimeToSelection |
Set whether to snap the time to the currently selected key. | CurveEditorSettings.h | |
void SetSpaceSwitchColor
(
const FString& InControlName, |
Set Custom Space SwitchColor for the specified control name. | CurveEditorSettings.h | |
void SetTangentVisibility
(
ECurveEditorTangentVisibility InTangentVisibility |
Sets the current tangent visibility. | CurveEditorSettings.h | |
void SetTreeViewWidth
(
float InTreeViewWidth |
Sets the tree view width percentage | CurveEditorSettings.h | |
void SetZoomPosition
(
ECurveEditorZoomPosition InZoomPosition |
Set zoom in/out position (mouse position or current time). | CurveEditorSettings.h |
Protected
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
CurveEditorSettings.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FLinearColor GetNextRandomColor() |
Helper function to get next random linear color | CurveEditorSettings.h |