Navigation
API > API/Editor > API/Editor/CurveEditor
Class that provides functionality to represents keys as continuous ranges.
| Name | FKeyBarCurveModel |
| Type | class |
| Header File | /Engine/Source/Editor/CurveEditor/Public/KeyBarCurveModel.h |
| Include Path | #include "KeyBarCurveModel.h" |
Syntax
class FKeyBarCurveModel : public FCurveModel
Inheritance Hierarchy
- FCurveModel → FKeyBarCurveModel
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FKeyBarCurveModel() |
KeyBarCurveModel.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FKeyBarCurveModel() |
KeyBarCurveModel.h |
Structs
| Name | Remarks |
|---|---|
| FBarRange | Bar Ranges for the Keys |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildContextMenu
(
const FCurveEditor& CurveEditor, |
New Virtuals for Key Bar Curve Model | KeyBarCurveModel.h | |
virtual TArray< FKeyBarCurveModel::FBarRange > FindRanges() |
Find all of the ranges in this model. This should return an increasing set of ranges. | KeyBarCurveModel.h |
Overridden from FCurveModel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddKeys
(
TArrayView< const FKeyPosition > InPositions, |
Add keys to this curve | KeyBarCurveModel.h | |
virtual 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 | KeyBarCurveModel.h | |
virtual bool Evaluate
(
double InTime, |
Evaluate this curve at the specified time | KeyBarCurveModel.h | |
virtual const void * GetCurve() |
Access the raw pointer of the curve data | KeyBarCurveModel.h | |
virtual void GetKeyDrawInfo
(
ECurvePointType PointType, |
Populate the specified draw info structure with data describing how to draw the specified point type | KeyBarCurveModel.h | |
virtual void GetKeyPositions
(
TArrayView< const FKeyHandle > InKeys, |
Retrieve all key positions that pertain to the specified input key handles | KeyBarCurveModel.h | |
virtual void GetKeys
(
double MinTime, |
Retrieve all keys that lie in the specified time and value range | KeyBarCurveModel.h | |
virtual void GetNeighboringKeys
(
const FKeyHandle InKeyHandle, |
Get neighboring keys given the key handle | KeyBarCurveModel.h | |
virtual int32 GetNumKeys() |
Get the number of keys | KeyBarCurveModel.h | |
virtual void GetTimeRange
(
double& MinTime, |
Get range of input time. | KeyBarCurveModel.h | |
virtual void GetValueRange
(
double& MinValue, |
Get range of output values. | KeyBarCurveModel.h | |
virtual void Modify() |
Explicitly modify the curve data. Called before any change is made to the curve. | KeyBarCurveModel.h | |
virtual void RemoveKeys
(
TArrayView< const FKeyHandle > InKeys, |
Remove all the keys with the specified key handles from this curve | KeyBarCurveModel.h | |
virtual void SetKeyPositions
(
TArrayView< const FKeyHandle > InKeys, |
Assign key positions for the specified key handles | KeyBarCurveModel.h |