set_progress_mode
Description:
Sets the progress function using a value from the AnimationMode enumeration.
The mode cannot be CUSTOM_MODE or bigger than
ANIMATION_LAST.
Parameters:
| this |
a Timeline |
| mode |
the progress mode, as a AnimationMode |