Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/Channels
Inheritance Hierarchy
- FCurveModel
- FChannelCurveModel
- FBezierChannelCurveModel
- FDoubleChannelCurveModel
- FFloatChannelCurveModel
- FBoolChannelCurveModel
- FIntegerChannelCurveModel
References
| Module | MovieSceneTools |
| Header | /Engine/Source/Editor/MovieSceneTools/Public/Channels/ChannelCurveModel.h |
| Include | #include "Channels/ChannelCurveModel.h" |
Syntax
template<class ChannelType, class ChannelValue, class KeyType>
class FChannelCurveModel : public FCurveModel
Constructors
| Type | Name | Description | |
|---|---|---|---|
FChannelCurveModel
(
TMovieSceneChannelHandle< ChannelType > InChannel, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TMovieSceneChannelHandle< ChannelType > & | |||
| double | GetKeyValue
(
TArrayView< const ChannelValue > Values, |
||
| void | SetKeyValue
(
int32 Index, |
Overridden from FCurveModel
| Type | Name | Description | |
|---|---|---|---|
| void | AddKeys
(
TArrayView< const FKeyPosition > InPositions, |
Add keys to this curve | |
| void | DrawCurve
(
const FCurveEditor& CurveEditor, |
Draw the curve for the specified curve editor by populating an array with points on the curve between which lines should be drawn | |
| bool | Evaluate
(
double InTime, |
Evaluate this curve at the specified time | |
| const void * | GetCurve () |
Access the raw pointer of the curve data | |
| void | GetCurveAttributes
(
FCurveAttributes& OutAttributes |
Retrieve curve attributes for this curve | |
| void | GetCurveColorObjectAndName
(
UObject** OutObject, |
Get the Object and the name to be used to store the curve model color (see UCurveEditorSettings). | |
| void | GetKeyDrawInfo
(
ECurvePointType PointType, |
Populate the specified draw info structure with data describing how to draw the specified point type | |
| void | GetKeyPositions
(
TArrayView< const FKeyHandle > InKeys, |
Retrieve all key positions that pertain to the specified input key handles | |
| void | GetKeys
(
const FCurveEditor& CurveEditor, |
Retrieve all keys that lie in the specified time and value range | |
| void | GetNeighboringKeys
(
const FKeyHandle InKeyHandle, |
Get neighboring keys given the key handle | |
| int32 | GetNumKeys () |
Get the number of keys | |
| UObject * | Get the UObject that owns this CurveModel, for example for Sequencer this would be the UMovieSceneSection | ||
| void | GetTimeRange
(
double& MinTime, |
Get range of input time. | |
| void | GetValueRange
(
double& MinValue, |
Get range of output values. | |
| bool | Get if has changed and then reset it, this can be used for caching | ||
| bool | IsReadOnly () |
Returns whether the curve model should be edited or not | |
| void | Modify () |
Explicitly modify the curve data. Called before any change is made to the curve. | |
| void | RemoveKeys
(
TArrayView< const FKeyHandle > InKeys |
Remove all the keys with the specified key handles from this curve | |
| void | SetKeyPositions
(
TArrayView< const FKeyHandle > InKeys, |
Assign key positions for the specified key handles |