Ark Server API (ASA) - Wiki
|
#include <CurveEdInterface.h>
Interface that allows the CurveEditor to edit this type of object.
Definition at line 10 of file CurveEdInterface.h.
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.
Definition at line 74 of file CurveEdInterface.h.
Remove the specified key from the curve. KeyIndex must be within range ie >=0 and < NumKeys.
Definition at line 80 of file CurveEdInterface.h.
Evaluate a subcurve at an arbitary point. Outside the keyframe range, curves are assumed to continue their end values.
Definition at line 49 of file CurveEdInterface.h.
Get input range of keys. Outside this region curve continues constantly the start/end values.
Definition at line 65 of file CurveEdInterface.h.
|
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 |
Definition at line 46 of file CurveEdInterface.h.
Get the input value for the Key with the specified index. KeyIndex must be within range ie >=0 and < NumKeys.
Definition at line 29 of file CurveEdInterface.h.
|
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.
Definition at line 55 of file CurveEdInterface.h.
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.
Definition at line 36 of file CurveEdInterface.h.
Get number of keyframes in curve.
Definition at line 14 of file CurveEdInterface.h.
Get number of 'sub curves' in this Curve. For example, a vector curve will have 3 sub-curves, for X, Y and Z.
Definition at line 17 of file CurveEdInterface.h.
Get overall range of output values.
Definition at line 68 of file CurveEdInterface.h.
|
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? |
Definition at line 26 of file CurveEdInterface.h.
|
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.
Definition at line 62 of file CurveEdInterface.h.
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.
Definition at line 86 of file CurveEdInterface.h.
|
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.
Definition at line 99 of file CurveEdInterface.h.
|
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.
Definition at line 93 of file CurveEdInterface.h.
|
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.
Definition at line 107 of file CurveEdInterface.h.