Navigation
API > API/Editor > API/Editor/CurveEditor
Inheritance Hierarchy
- FCurveModel
- FKeyBarCurveModel
- FConstraintChannelCurveModel
- FControlRigSpaceChannelCurveModel
References
| Module | CurveEditor |
| Header | /Engine/Source/Editor/CurveEditor/Public/KeyBarCurveModel.h |
| Include | #include "KeyBarCurveModel.h" |
Syntax
class FKeyBarCurveModel : public FCurveModel
Remarks
Class that provides functionality to represents keys as continuous ranges.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildContextMenu
(
const FCurveEditor& CurveEditor, |
New Virtuals for Key Bar Curve Model | |
| TArray< FKeyBarCurveModel::FBarRange > | FindRanges () |
Find all of the ranges in this model. This should return an increasing set of ranges. |
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 | 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 | |
| void | GetTimeRange
(
double& MinTime, |
Get range of input time. | |
| void | GetValueRange
(
double& MinValue, |
Get range of output values. | |
| 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 |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FBarRange | Bar Ranges for the Keys |