class Godot::IntervalTweenerStep

Overview

Expressive step wrapper around Godot::IntervalTweener supporting fluent chaining

Defined in:

libgodot/extensions/tween.cr

Constructors

Macro Summary

Instance Method Summary

Instance methods inherited from class Object

try?(&)
try?
try?

Constructor Detail

def self.new(tweener : IntervalTweener, builder : TweenBuilder) #

Macro Detail

macro method_missing(call) #

Instance Method Detail

def animate(target : Object, prop : String | NodePath | Symbol, to val : Variant | Object | Int32 | Int64 | Float32 | Float64 | Bool | String | Vector2 | Vector3 | Vector4 | Color, duration : Float64 | ::Time::Span = 0.2, in in_duration : Float64 | ::Time::Span | Nil = nil, from from_val : Variant | Object | Int32 | Int64 | Float32 | Float64 | Bool | String | Vector2 | Vector3 | Vector4 | Color | Nil = nil, trans : Tween::TransitionType | Trans | Symbol | Int = :linear, ease : Tween::EaseType | Ease | Symbol | Int = :in_out) : PropertyTweenerStep #

def animate(prop : String | NodePath | Symbol, to val : Variant | Object | Int32 | Int64 | Float32 | Float64 | Bool | String | Vector2 | Vector3 | Vector4 | Color, duration : Float64 | ::Time::Span = 0.2, in in_duration : Float64 | ::Time::Span | Nil = nil, from from_val : Variant | Object | Int32 | Int64 | Float32 | Float64 | Bool | String | Vector2 | Vector3 | Vector4 | Color | Nil = nil, trans : Tween::TransitionType | Trans | Symbol | Int = :linear, ease : Tween::EaseType | Ease | Symbol | Int = :in_out) : PropertyTweenerStep #

def animate(prop : Symbol, sub_prop : Symbol, to val : Variant | Object | Int32 | Int64 | Float32 | Float64 | Bool | String | Vector2 | Vector3 | Vector4 | Color, duration : Float64 | ::Time::Span = 0.2, in in_duration : Float64 | ::Time::Span | Nil = nil, from from_val : Variant | Object | Int32 | Int64 | Float32 | Float64 | Bool | String | Vector2 | Vector3 | Vector4 | Color | Nil = nil, trans : Tween::TransitionType | Trans | Symbol | Int = :linear, ease : Tween::EaseType | Ease | Symbol | Int = :in_out) : PropertyTweenerStep #

def builder : TweenBuilder #

def chain : TweenBuilder #

def kill : TweenBuilder #

def loops(count : Int = 0) : TweenBuilder #

def parallel : TweenBuilder #

def pause : TweenBuilder #

def play : TweenBuilder #

def raw_tweener : IntervalTweener #

def speed_scale(scale : Float64) : TweenBuilder #

def tweener : IntervalTweener #