3ds Max C++ API Reference
|
Classes | |
class | KeyReduceStatus |
Macros | |
#define | DEFULAT_KEYREDUCE_THRESHOLD (0.5f) |
#define | KEYREDUCE_ABORT -1 |
#define | KEYREDUCE_STOP 0 |
#define | KEYREDUCE_CONTINUE 1 |
Functions | |
CoreExport int | ApplyKeyReduction (Control *cont, Interval range, float thresh, TimeValue step, KeyReduceStatus *status) |
Attempts to delete keys that lie within the given time range. More... | |
#define DEFULAT_KEYREDUCE_THRESHOLD (0.5f) |
#define KEYREDUCE_ABORT -1 |
#define KEYREDUCE_STOP 0 |
#define KEYREDUCE_CONTINUE 1 |
CoreExport int ApplyKeyReduction | ( | Control * | cont, |
Interval | range, | ||
float | thresh, | ||
TimeValue | step, | ||
KeyReduceStatus * | status | ||
) |
Attempts to delete keys that lie within the given time range.
cont | The controller whose keys are to be reduced. |
range | The time range within which to delete keys. |
thresh | After the key reduction, the controller's values at each step are guaranteed to be within this distance from their original values. |
step | The controller will be sampled in steps of this time increment. |
status | The callback object used to report the key reduction status and control continued processing. |