set_duration
Description:
Sets the this duration for a relative trigger.
The function does nothing, when the this is an absolute trigger. The object is owned by this and it's valid until the this is freed or its relative duration changed.
Parameters:
this | |
duration |
duration for a relative trigger, as an Duration |