Tween

represents a tween, to be used for easings/interpolation

Constructors

this
this(TRef[] data, T[] from, T[] to, float duration, EaseFunction ease, float delay)
Undocumented in source.

Members

Aliases

TRef
alias TRef = T*
Undocumented in source.

Functions

add_chain
void add_chain(ITween[] tw)
Undocumented in source. Be warned that the author may not have intended to support it.
set_callback
void set_callback(void delegate(ITween) cb)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(bool attach)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

callback
void delegate(ITween) callback [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
get_chain
ITween[] get_chain [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
state
TweenState state [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

delay
const(float) delay;
Undocumented in source.
duration
const(float) duration;
Undocumented in source.
ease
const(EaseFunction) ease;
Undocumented in source.
from
const(float[]) from;
Undocumented in source.
to
const(float[]) to;
Undocumented in source.

Inherited Members

From ITween

state
TweenState state [@property getter]
Undocumented in source.
update
void update(float dt)
Undocumented in source.
start
void start(bool attach)
Undocumented in source.
add_chain
void add_chain(ITween[] tw)
Undocumented in source.
get_chain
ITween[] get_chain [@property getter]
Undocumented in source.
callback
void delegate(ITween) callback [@property getter]
Undocumented in source.
set_callback
void set_callback(void delegate(ITween) cb)
Undocumented in source.

Meta