set_key
Description:
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.4" ) ]
public unowned State set_key (string? source_state_name, string target_state_name, Object object, string property_name, uint mode, Value value, double pre_delay, double post_delay)
public unowned State set_key (string? source_state_name, string target_state_name, Object object, string property_name, uint mode, Value value, double pre_delay, double post_delay)
Warning: set_key is deprecated since 1.12.
Sets one specific end key for a state name, object, property_name combination.
Note:
Use KeyframeTransition and TransitionGroup instead
Parameters:
| this |
a State instance. |
| source_state_name |
the source transition to specify transition for, or |
| target_state_name |
the name of the transition to set a key value for. |
| object |
the Object to set a key for |
| property_name |
the property to set a key for |
| mode |
the id of the alpha function to use |
| value |
the value for property_name of object in state_name |
| pre_delay |
relative time of the transition to be idle in the beginning of the transition |
| post_delay |
relative time of the transition to be idle in the end of the transition |
Returns:
|
the State instance, allowing chaining of multiple calls |