Function Tween.targetingMethod
Animates method
of object
from the value returned by initial_method
to final_val
for duration
seconds, delay
seconds later. Methods are animated by calling them with consecutive values.
Use transitiontype
for trans_type
and easetype
for ease_type
parameters. These values control the timing and direction of the interpolation. See the class description for more information.
bool targetingMethod(VariantArg4)
(
GodotObject object,
in String method,
GodotObject initial,
in String initial_method,
in VariantArg4 final_val,
in double duration,
in long trans_type = 0,
in long ease_type = 2,
in double delay = 0
);