Value > MAXWrapper > Controllers > Retimer |
The Retimer Controller was introduced in 3ds Max 2013 as an alternative procedural EaseCurve controller.
It can be used in the EaseCurve track of any controller or as a Global Retirmer Controller affecting the whole scene, accessible via the Interface: RetimerMan
<RetimerController>.numMarkers : integer : Read
Contains the number of markers in the Retimer controller.
<RetimerController>.numSpans : integer : Read
Contains the number of spans in the Retimer controller.
The spans are the ranges between markers. Thus, two markers define one span.
<RetimerController>.active : bool : Read|Write
Get/set the active state of the Retimer controller.
<void><RetimerController>.SetNewMarker <time>time
Creates a new Marker at the specified time.
<void><RetimerController>.ExpandMarker <time>time <time>newTime
Expands the Marker from the time specified by the first argument to the new time specified by the second argument.
There must be a marker at the time specified by the first argument.
Expanding is the process of moving a marker from its original time to a new time, thus producing a retiming curve.
<void><RetimerController>.MoveMarker <time>time <time>newTime
Moves the Marker from the time specified by the first argument to the new time specified by the second argument.
Moving a Marker changes its original position before the expanding (and thus retiming) the animation.
In other words, it adjusts the initial placement of the marker as opposed to moving the marker for retiming purposes.
<void><RetimerController>.RemoveMarker <time>time
Removes the Marker from the specified time.
<time by value array><RetimerController>.GetMarkerTimes()
Returns an array of all Marker times.
This is the list of the original positions of the markers before expanding them to produce animation retiming.
<time by value array><RetimerController>.GetExpandedMarkerTimes()
Returns an array of all expanded Marker times.
This is the list of the new positions of the markers that cause the retiming of the animation.
<enum><RetimerController>.GetSpanType <index>index GetSpanType enums: {#linear|#easeIn|#easeOut}
Returns the type of the indexed Span.
<void><RetimerController>.SetSpanType <index>index <enum>type type enums: {#linear|#easeIn|#easeOut}
Sets the Type of the indexed Span to the name value provided by the second argument.
<bool><RetimerController>.GetSpanLocked <index>index
Returns the locked state of the indexed Span as a boolean value.
<void><RetimerController>.SetSpanLocked <index>index <bool>type
Sets the locked state of the indexed Span to the boolean value provided by the second argument.