7#include "Math/InterpCurvePoint.h"
20
21
22
23
24
25
29 virtual float GetKeyIn(int32 KeyIndex) {
return 0.f; }
32
33
34
35
36 virtual float GetKeyOut(int32 SubIndex, int32 KeyIndex) {
return 0.f; }
39
40
41
42
43
44
45
49 virtual float EvalSub(int32 SubIndex,
float InVal) {
return 0.f; }
52
53
54
58
59
60
61
62 virtual void GetTangents(int32 SubIndex, int32 KeyIndex,
float& ArriveTangent,
float& LeaveTangent)
const { ArriveTangent=0.f; LeaveTangent=0.f; }
65 virtual void GetInRange(
float& MinIn,
float& MaxIn)
const { MinIn=0.f; MaxIn=0.f; }
68 virtual void GetOutRange(
float& MinOut,
float& MaxOut)
const { MinOut=0.f; MaxOut=0.f; }
71
72
73
77
78
79
83
84
85
86 virtual int32
SetKeyIn(int32 KeyIndex,
float NewInVal) {
return KeyIndex; }
89
90
91
92
93 virtual void SetKeyOut(int32 SubIndex, int32 KeyIndex,
float NewOutVal) {}
96
97
98
103
104
105
106
107 virtual void SetTangents(int32 SubIndex, int32 KeyIndex,
float ArriveTangent,
float LeaveTangent) {}
virtual EInterpCurveMode GetKeyInterpMode(int32 KeyIndex) const
virtual void SetTangents(int32 SubIndex, int32 KeyIndex, float ArriveTangent, float LeaveTangent)
virtual FColor GetKeyColor(int32 SubIndex, int32 KeyIndex, const FColor &CurveColor)
virtual int32 CreateNewKey(float KeyIn)
virtual int32 GetNumKeys() const
virtual float EvalSub(int32 SubIndex, float InVal)
virtual float GetKeyOut(int32 SubIndex, int32 KeyIndex)
virtual void SetKeyInterpMode(int32 KeyIndex, EInterpCurveMode NewMode)
virtual void SetKeyOut(int32 SubIndex, int32 KeyIndex, float NewOutVal)
virtual float GetKeyIn(int32 KeyIndex)
virtual int32 GetNumSubCurves() const
virtual void GetInRange(float &MinIn, float &MaxIn) const
virtual int32 SetKeyIn(int32 KeyIndex, float NewInVal)
virtual void DeleteKey(int32 KeyIndex)
virtual void GetOutRange(float &MinOut, float &MaxOut) const
virtual void GetTangents(int32 SubIndex, int32 KeyIndex, float &ArriveTangent, float &LeaveTangent) const
virtual FColor GetSubCurveButtonColor(int32 SubCurveIndex, bool bIsSubCurveHidden) const
constexpr FORCEINLINE FColor(uint8 InR, uint8 InG, uint8 InB, uint8 InA=255)