class_tween - dragonsoulz/godot GitHub Wiki
Tween
####Inherits: Node ####Category: Core
Brief Description
Member Functions
- bool is_active ( ) const
- void set_active ( bool active )
- bool is_repeat ( ) const
- void set_repeat ( bool repeat )
- void set_speed ( float speed )
- float get_speed ( ) const
- void set_tween_process_mode ( int mode )
- int get_tween_process_mode ( ) const
- bool start ( )
- bool reset ( Object node, String key )
- bool reset_all ( )
- bool stop ( Object node, String key )
- bool stop_all ( )
- bool resume ( Object node, String key )
- bool resume_all ( )
- bool remove ( Object node, String key )
- bool remove_all ( )
- bool seek ( float time )
- float tell ( ) const
- float get_runtime ( ) const
- bool interpolate_property ( Object node, String property, var initial_val, var final_val, float times_in_sec, int trans_type, int ease_type, float delay=0 )
- bool interpolate_method ( Object node, String method, var initial_val, var final_val, float times_in_sec, int trans_type, int ease_type, float delay=0 )
- bool interpolate_callback ( Object node, String callback, float times_in_sec, var args=NULL )
- bool follow_property ( Object node, String property, var initial_val, Object target, String target_property, float times_in_sec, int trans_type, int ease_type, float delay=0 )
- bool follow_method ( Object node, String method, var initial_val, Object target, String target_method, float times_in_sec, int trans_type, int ease_type, float delay=0 )
- bool targeting_property ( Object node, String property, Object initial, String initial_val, var final_val, float times_in_sec, int trans_type, int ease_type, float delay=0 )
- bool targeting_method ( Object node, String method, Object initial, String initial_method, var final_val, float times_in_sec, int trans_type, int ease_type, float delay=0 )
Signals
- tween_complete ( Object node, String key )
- tween_step ( Object node, String key, float elapsed, Object value )
- tween_start ( Object node, String key )
Numeric Constants
- TRANS_LINEAR = 0
- TRANS_SINE = 1
- TRANS_QUINT = 2
- TRANS_QUART = 3
- TRANS_QUAD = 4
- TRANS_EXPO = 5
- TRANS_ELASTIC = 6
- TRANS_CUBIC = 7
- TRANS_CIRC = 8
- TRANS_BOUNCE = 9
- TRANS_BACK = 10
- EASE_IN = 0
- EASE_OUT = 1
- EASE_IN_OUT = 2
- EASE_OUT_IN = 3