Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd
Inheritance Hierarchy
- SCompoundWidget
- FGCObject
- FEditorUndoClient
- SCurveEditor
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/SCurveEditor.h |
Include | #include "SCurveEditor.h" |
Syntax
class SCurveEditor :
public SCompoundWidget,
public FGCObject,
public FEditorUndoClient
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TAttribute< bool > | bAreCurvesVisible | Whether or not curves are being displayed |
![]() |
TAttribute< bool > | bInputSnappingEnabled | Whether or not input snapping is enabled. |
![]() |
bool | bIsUsingSlider | True if the sliders are being used to adjust point values |
![]() |
TAttribute< bool > | bOutputSnappingEnabled | Whether or not output snapping is enabled. |
![]() |
bool | bShowCurveSelector | Whether or not to show the curve selector widgets. |
![]() |
TAttribute< bool > | bShowTimeInFrames | Show time in frames. |
![]() |
bool | bShowZoomButtons | True if the internal zoom buttons should be visible. |
![]() |
bool | bZoomToFitHorizontal | True if you want the curve editor to fit to zoom |
![]() |
bool | bZoomToFitVertical | True if you want the curve editor to fit to zoom |
![]() |
TSharedPtr< SToolTip > | CurveToolTip | The tooltip control for the curves. |
![]() |
FText | CurveToolTipInputText | The text for the input portion of the tooltip. |
![]() |
FText | CurveToolTipNameText | The text for the name portion of the tooltip. |
![]() |
FText | CurveToolTipOutputText | The text for the output portion of the tooltip. |
![]() |
TArray< TSharedPtr< FCurveViewModel > > | CurveViewModels | The view models for the curves. |
![]() |
FKeyHandle | DraggedKeyHandle | A handle to the key which was clicked to start a key drag operation. |
![]() |
EDragState | DragState | The state of the current drag operation happening with the widget, if any. |
![]() |
float | DragThreshold | The number of pixels which the mouse must move before a drag operation starts. |
![]() |
TWeakPtr< IMenu > | EntryPopupMenu | Generic Popup Entry |
![]() |
FLinearColor | GridColor | The color used to draw the grid lines. |
![]() |
FText | InputAxisName | The text to display for the input axis. |
![]() |
FText | InputFrameAxisName | The text to display for the input (frame) axis. |
![]() |
TAttribute< float > | InputSnap | The snapping value for the input domain. |
![]() |
FVector2D | MouseDownLocation | The location of mouse during the last OnMouseButtonDown callback in widget local coordinates. |
![]() |
FVector2D | MouseMoveLocation | The location of the mouse during the last OnMouseMove callback in widget local coordinates. |
![]() |
EMovementAxisLock | MovementAxisLock | The movement axis lock state |
![]() |
FText | OutputAxisName | The text to display for the output axis. |
![]() |
TAttribute< float > | OutputSnap | The snapping value for the output domain. |
![]() |
TMap< FKeyHandle, FVector2D > | PreDragKeyLocations | A map of selected key handle to their starting locations at the beginning of a drag operation. |
![]() |
TMap< FKeyHandle, FVector2D > | PreDragTangents | A map of selected key handles to their tangent values at the beginning of a drag operation. |
![]() |
float | ReduceTolerance | The tolerance to use when reducing curves |
![]() |
TAttribute< float > | TimelineLength | How long the overall timeline is |
![]() |
TAttribute< float > | ViewMaxInput | Maximum input of view range |
![]() |
TAttribute< float > | ViewMaxOutput | Min output view range |
![]() |
TAttribute< float > | ViewMinInput | Minimum input of view range |
![]() |
TAttribute< float > | ViewMinOutput | Max output view range |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Return whether any curve view models are selected | |
![]() |
void | Clear the selected curve view models | |
![]() |
void | Closes the popup created by GenericTextEntryModeless | |
![]() |
void | Construct
(
const FArguments& InArgs |
|
![]() |
UObject * | CreateCurveObject
(
TSubclassOf< UCurveBase > CurveType, |
Function to create a curve object and return its reference. |
![]() ![]() |
float | FrameToTime
(
int32 InFrame |
|
![]() |
void | GenericTextEntryModeless
(
const FText& DialogText, |
Modeless Version of the String Entry Box |
![]() ![]() |
bool | Gets or sets whether autoframing is allowed | |
![]() ![]() |
bool | GetAutoFrame () |
Gets whether autoframe will be invoked (combination of allow auto frame and curve editor auto frame setting) |
![]() |
TSharedPtr< FUICommandList > | GetCommands () |
Gets a list of the commands handled by this control |
![]() |
UCurveFactory * | Construct an object of type UCurveFactory and return it's reference | |
![]() ![]() |
FCurveOwnerInterface * | Get the currently edited curve | |
![]() ![]() |
TArray< FRealCurve * > | Get the curves to will be used during a fit operation | |
![]() ![]() |
UCurveEditorSettings * | GetSettings () |
Access the user-supplied settings object |
![]() ![]() ![]() |
float | GetTimeStep
(
FTrackScaleInfo& ScaleInfo |
Get Time Step for vertical line drawing |
![]() |
void | SetAllowAutoFrame
(
bool bInAllowAutoFrame |
|
![]() |
void | SetCurveOwner
(
FCurveOwnerInterface* InCurveOwner, |
Set the curve that is being edited by this track widget. |
![]() ![]() |
void | SetDefaultOutput
(
const float MinZoomRange |
Set Default output values when range is too small |
![]() |
void | SetInputMinMax
(
float NewMin, |
Update view range |
![]() |
void | SetOutputMinMax
(
float NewMin, |
|
![]() |
void | SetRequireFocusToZoom
(
bool bInRequireFocusToZoom |
Set flag that allows scrolling up/down over the widget from the outside without it handling the scroll wheel event |
![]() |
void | SetSelectedCurveViewModel
(
FRealCurve* Curve |
Set the selected curve view model that matches the rich curve |
![]() |
void | SetZoomToFit
(
bool bNewZoomToFitVertical, |
Set new zoom to fit |
![]() ![]() |
int32 | TimeToFrame
(
float InTime |
Convert time to frames and vice versa |
![]() |
void | Ensure that selected keys and tangents are still valid | |
![]() |
void | ZoomToFit
(
const bool bZoomToFitAll |
|
![]() |
void | ZoomToFitHorizontal
(
const bool bZoomToFitAll |
Zoom to fit |
![]() |
void | ZoomToFitVertical
(
const bool bZoomToFitAll |
Overridden from SWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FReply | Called after a key is pressed when this widget has focus (this event bubbles if not handled) | |
![]() ![]() |
FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
![]() ![]() |
FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. |
![]() ![]() |
void | OnMouseCaptureLost
(
const FCaptureLostEvent& CaptureLostEvent |
Called when this widget had captured the mouse, but that capture has been revoked for some reason. |
![]() ![]() |
FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. |
![]() ![]() |
FReply | OnMouseWheel
(
const FGeometry& MyGeometry, |
Called when the mouse wheel is spun. This event is bubbled. |
![]() ![]() ![]() |
int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
![]() ![]() ![]() |
TOptional< bool > | OnQueryShowFocus
(
const EFocusCause InFocusCause |
Called to determine if we should render the focus brush. |
Overridden from FGCObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
Since we create a UFactory object, it needs to be serialized |
![]() ![]() ![]() |
FString | Overload this method to report a name for your referencer |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FArguments |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EDragState | Represents the different states of a drag operation | |
![]() |
EMovementAxisLock |