[ Version ( since = "3.34" ) ]
public void set_duration (Duration duration)
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.
this | |
duration |
duration for a relative trigger, as an Duration |