Value > MAXWrapper > Controllers > Ease and Multiplier Curve Functions |
Adds an ease curve to the specified controller.
You can provide an optional float controller for the curve or have the function generate a default float controller for you.
When you add an ease curve in Track View, keys are automatically created at the beginning and end of the current animation range. The addEaseCurve() method does not generate these keys, so you need to add them to the ease curve controller.
NEW in 3ds Max 2013: An instance of the procedural Retimer Controller introduced in 3ds Max 2013 can be passed as second argument to enable the new Retimer workflow using markers instead of keys.
Deletes the indexed ease curve from the controller. The indexes are 1- based and correspond to the order in which the curves were originally added to the controller.
Returns the number of ease curves currently operating on the controller.
Applies the combined ease curves in the specified controller to the given time value, returning the transformed time.
getEaseCurve <controller> <index>
Returns the ease curve (a bezier_float controller) at the specified index.
Adds a multiplier curve to the specified controller.
You can provide an optional float controller for the curve or have the function generate a default float controller for you.
When you add a ease curve in Track View, keys are automatically created at the beginning and end of the current animation range. The addMultiplierCurve() method does not generate these keys, so you need to add them to the ease curve controller.
Deletes the indexed multiplier curve from the controller. The indices are 1- based and correspond to the order in which the curves were originally added to the controller.
Returns the number of multiplier curves currently operating on the controller.
Returns the combined (float) value of the multiplier curves in the specified controller at the given time value.
getMultiplierCurve <controller> <time>
Returns the multiplier curve (a bezier_float controller) at the specified index.
If an Ease Curve is assigned to a controller, the following controller-related sub-property is available:
<controller>.Ease_Curve.controller -- the ease curve controller itself
If a Multiplier Curve is assigned to a controller, the following controller-related sub-property is available:
<controller>.Multiplier_Curve.controller -- the multiplier curve controller itself
The following script shows examples of some of the above methods.