set_duration
Description:
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.4" ) ]
public void set_duration (string? source_state_name, string? target_state_name, uint duration)
public void set_duration (string? source_state_name, string? target_state_name, uint duration)
Warning: set_duration is deprecated since 1.12.
Sets the duration of a transition.
Note:
Use KeyframeTransition and TransitionGroup instead
If both state names are null the default duration for this is set.
If only target_state_name is specified, the passed duration becomes the default duration for transitions to the
target state.
If both states names are specified, the passed duration only applies to the specified transition.
Parameters:
| this |
a State |
| source_state_name |
the name of the source state, or |
| target_state_name |
the name of the target state, or |
| duration |
the duration of the transition, in milliseconds |