get_duration


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.4" ) ]
public uint get_duration (string? source_state_name, string? target_state_name)

Warning: get_duration is deprecated since 1.12.

Queries the duration used for transitions between a source and target state pair

Note:

The semantics for the query are the same as the semantics used for setting the duration with set_duration

Parameters:

this

a State

source_state_name

the name of the source state to get the duration of, or null

target_state_name

the name of the source state to get the duration of, or null

Returns:

the duration, in milliseconds