Module |
|
Header |
/Engine/Source/Editor/CurveEditor/Public/CurveModel.h |
Include |
#include "CurveModel.h" |
class FCurveModel
Class that models an underlying curve data structure through a generic abstraction that the curve editor understands.
Name | Description | ||
---|---|---|---|
|
TAttribute< boo... |
bKeyDrawEnabled |
Whether or not to draw curve's keys |
|
Color |
This curve's display color |
|
|
FSimpleMulticas... |
CurveModifiedDelegate |
Multicast delegate broadcast on curve modification |
|
IntentionName |
This curve's intention (such as Transform.X or Scale.X). |
|
|
LongDisplayName |
This curve's long display name. |
|
|
ShortDisplayName |
This curve's short display name. |
|
|
SupportedViews |
A set of views supported by this curve |
Name | Description | |
---|---|---|
|
FCurveModel() |
Name | Description | |
---|---|---|
|
~FCurveModel() |
Name | Description | ||
---|---|---|---|
|
AddKey ( |
Helper function for adding a single key to this curve |
|
|
AddKeys ( |
Add keys to this curve |
|
|
TUniquePtr< ... |
CreateBufferedCurveCopy() |
Creates a copy of this curve, stored in a minimal buffered curve object. |
|
CreateKeyProxies ( |
Create key proxy objects for the specified key handles. |
|
|
DrawCurve ( |
Draw the curve for the specified curve editor by populating an array with points on the curve between which lines should be drawn |
|
|
Evaluate ( |
Evaluate this curve at the specified time |
|
|
GetColor() |
Retrieve this curve's color |
|
|
const void &... |
GetCurve() |
Access the raw pointer of the curve data |
|
GetCurveAttributes ( |
Retrieve curve attributes for this curve |
|
|
double |
GetInputDisplayOffset() |
Retrieve an option input display offset (in seconds) to apply to all this curve's drawing |
|
GetIntentionName() |
This is an internal name used to try to match different curves with each other. |
|
|
GetKeyAttributes ( |
Retrieve all key attributes that pertain to the specified input key handles |
|
|
GetKeyDrawInfo ( |
Populate the specified draw info structure with data describing how to draw the specified point type |
|
|
GetKeyPositions ( |
Retrieve all key positions that pertain to the specified input key handles |
|
|
GetKeys ( |
Retrieve all keys that lie in the specified time and value range |
|
|
GetLongDisplayName() |
Access this curve's long display name. |
|
|
GetNeighboringKeys ( |
Get neighboring keys given the key handle |
|
|
GetNumKeys() |
Get the number of keys |
|
|
UObject *... |
GetOwningObject() |
Get the UObject that owns this CurveModel, for example for Sequencer this would be the UMovieSceneSection |
|
GetShortDisplayName() |
Access this curve's short display name. |
|
|
ECurveEditor... |
GetSupportedViews() |
Retrieve this curve's supported views |
|
GetTimeRange ( |
Get range of input time. |
|
|
GetValueRange ( |
Get range of output values. |
|
|
IsKeyDrawEnabled() |
Retrieves whether or not to disable drawing keys |
|
|
IsReadOnly() |
Returns whether the curve model should be edited or not |
|
|
Modify() |
Explicitly modify the curve data. Called before any change is made to the curve. |
|
|
FSimpleMulti... |
OnCurveModified() |
Get a multicast delegate, fired when modifications are made to this curve |
|
RemoveKeys ( |
Remove all the keys with the specified key handles from this curve |
|
|
SetColor ( |
||
|
SetCurveAttributes ( |
Assign curve attributes for this curve |
|
|
SetIntentionName ( |
Assign an intention name for this curve which is used internally when applying one curve to another in situations where multiple curves are visible. |
|
|
SetIsKeyDrawEnabled ( |
Assign whether or not to disable drawing keys |
|
|
SetKeyAttributes ( |
Assign key attributes for the specified key handles |
|
|
SetKeyAttributes ( |
Helper function for assigning a the same attributes to a number of keys |
|
|
SetKeyPositions ( |
Assign key positions for the specified key handles |
|
|
SetLongDisplayName ( |
Assign a long display name for this curve used in contexts where additional context is useful. |
|
|
SetShortDisplayName ( |
Assign a short display name for this curve |