reng v0.1.0-pre5 (2020-07-28T06:27:24Z)
Dub
Repo
Tween
re
util
tweens
tween
represents a tween, to be used for easings/interpolation
class
Tween :
ITween
(
T
) {
alias
TRef
=
T
*
;
const
(
float
[])
from
;
const
(
float
[])
to
;
const
(
float
)
duration
;
const
(
float
)
delay
;
const
(
EaseFunction
)
ease
;
this
(TRef[] data, T[] from, T[] to, float duration, EaseFunction ease, float delay);
TweenState
state
[@property getter];
ITween
[]
get_chain
[@property getter];
void
update
(float dt);
void
start
(bool attach);
void
add_chain
(ITween[] tw);
}
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.
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
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.
Meta
Source
See Implementation
re
util
tweens
tween
classes
Tween
Tweener
enums
TweenState
interfaces
ITween
represents a tween, to be used for easings/interpolation