7.7 Segment information functions
The following functions can be used in effect specifications to determine which part of the muvee the effect is being applied to.
(segment-index) → integer |
The current segment index of an instance of muvee-segment-effect or a muvee-transition. In the case of the transition, this is the index of the section preceding the transition.
(segment-start-time seg-index) → number |
seg-index : integer |
Gives you the start time of the segment specified by seg-index. You can use this only within an instance of muvee-segment-effect or a muvee-transition. If you omit the seg-index, it gives the start time of the current segment.
(segment-stop-time seg-index) → number |
seg-index : integer |
Gives you the stop time of the segment specified by seg-index. This is the counterpart of the segment-start-time function above.
muvee-last-segment-index : integer |
Evaluates to the index of the last segment of the muvee :-P This gives you (indirectly), the number of segments in the muvee.