Beispiel #1
0
 protected override void Refresh(Renderable renderItem, float delta)
 {
     renderItem.SetAlpha(MathHelper.Lerp(_from, _to, Easing.Perform(_easeMode, Elapsed, (float)Duration.TotalSeconds)));
 }
Beispiel #2
0
 protected override void End(Renderable renderItem)
 {
     renderItem.SetAlpha(_to);
 }