Interface that allows the CurveEditor to edit this type of object. 更多...
#include <CurveEdInterface.h>
被 UDistribution , 以及 UInterpTrack 继承.
Public 成员函数 | |
| virtual int32 | CreateNewKey (float KeyIn) |
| Add a new key to the curve with the specified input. 更多... | |
| virtual void | DeleteKey (int32 KeyIndex) |
| Remove the specified key from the curve. 更多... | |
| virtual float | EvalSub (int32 SubIndex, float InVal) |
| Evaluate a subcurve at an arbitary point. 更多... | |
| virtual void | GetInRange (float &MinIn, float &MaxIn) const |
| Get input range of keys. 更多... | |
| virtual FColor | GetKeyColor (int32 SubIndex, int32 KeyIndex, const FColor &CurveColor) |
| Provides the color for the given key at the given sub-curve. 更多... | |
| virtual float | GetKeyIn (int32 KeyIndex) |
| Get the input value for the Key with the specified index. 更多... | |
| virtual EInterpCurveMode | GetKeyInterpMode (int32 KeyIndex) const |
| Get the interpolation mode of the specified keyframe. 更多... | |
| virtual float | GetKeyOut (int32 SubIndex, int32 KeyIndex) |
| Get the output value for the key with the specified index on the specified sub-curve. 更多... | |
| virtual int32 | GetNumKeys () const |
| Get number of keyframes in curve. | |
| virtual int32 | GetNumSubCurves () const |
| Get number of 'sub curves' in this Curve. 更多... | |
| virtual void | GetOutRange (float &MinOut, float &MaxOut) const |
| Get overall range of output values. | |
| virtual FColor | GetSubCurveButtonColor (int32 SubCurveIndex, bool bIsSubCurveHidden) const |
| Provides the color for the sub-curve button that is present on the curve tab. 更多... | |
| virtual void | GetTangents (int32 SubIndex, int32 KeyIndex, float &ArriveTangent, float &LeaveTangent) const |
| Get the incoming and outgoing tangent for the given subcurve and key. 更多... | |
| virtual int32 | SetKeyIn (int32 KeyIndex, float NewInVal) |
| Set the input value of the specified Key. 更多... | |
| virtual void | SetKeyInterpMode (int32 KeyIndex, EInterpCurveMode NewMode) |
| Set the method to use for interpolating between the give keyframe and the next one. 更多... | |
| virtual void | SetKeyOut (int32 SubIndex, int32 KeyIndex, float NewOutVal) |
| Set the output values of the specified key. 更多... | |
| virtual void | SetTangents (int32 SubIndex, int32 KeyIndex, float ArriveTangent, float LeaveTangent) |
| Set the incoming and outgoing tangent for the given subcurve and key. 更多... | |
Interface that allows the CurveEditor to edit this type of object.
|
inlinevirtual |
Add a new key to the curve with the specified input.
Its initial value is set using EvalSub at that location. Returns the index of the new key.
|
inlinevirtual |
Remove the specified key from the curve.
KeyIndex must be within range ie >=0 and < NumKeys.
|
inlinevirtual |
Evaluate a subcurve at an arbitary point.
Outside the keyframe range, curves are assumed to continue their end values.
|
inlinevirtual |
Get input range of keys.
Outside this region curve continues constantly the start/end values.
|
inlinevirtual |
Provides the color for the given key at the given sub-curve.
| SubIndex | The index of the sub-curve | |
| KeyIndex | The index of the key in the sub-curve | |
| [in] | CurveColor | The color of the curve |
|
inlinevirtual |
Get the input value for the Key with the specified index.
KeyIndex must be within range ie >=0 and < NumKeys.
|
inlinevirtual |
Get the interpolation mode of the specified keyframe.
This can be CIM_Constant, CIM_Linear or CIM_Curve. KeyIndex must be within range ie >=0 and < NumKeys.
|
inlinevirtual |
Get the output value for the key with the specified index on the specified sub-curve.
SubIndex must be within range ie >=0 and < NumSubCurves. KeyIndex must be within range ie >=0 and < NumKeys.
|
inlinevirtual |
Get number of 'sub curves' in this Curve.
For example, a vector curve will have 3 sub-curves, for X, Y and Z.
|
inlinevirtual |
Provides the color for the sub-curve button that is present on the curve tab.
| SubCurveIndex | The index of the sub-curve. Cannot be negative nor greater or equal to the number of sub-curves. |
| bIsSubCurveHidden | Is the curve hidden? |
|
inlinevirtual |
Get the incoming and outgoing tangent for the given subcurve and key.
SubIndex must be within range ie >=0 and < NumSubCurves. KeyIndex must be within range ie >=0 and < NumKeys.
|
inlinevirtual |
Set the input value of the specified Key.
This may change the index of the key, so the new index of the key is retured. KeyIndex must be within range ie >=0 and < NumKeys.
|
inlinevirtual |
Set the method to use for interpolating between the give keyframe and the next one.
KeyIndex must be within range ie >=0 and < NumKeys.
|
inlinevirtual |
Set the output values of the specified key.
SubIndex must be within range ie >=0 and < NumSubCurves. KeyIndex must be within range ie >=0 and < NumKeys.
|
inlinevirtual |
Set the incoming and outgoing tangent for the given subcurve and key.
SubIndex must be within range ie >=0 and < NumSubCurves. KeyIndex must be within range ie >=0 and < NumKeys.