Package com.badlogic.gdx.math
Class Interpolation.Swing
- java.lang.Object
-
- com.badlogic.gdx.math.Interpolation
-
- com.badlogic.gdx.math.Interpolation.Swing
-
- Enclosing class:
- Interpolation
public static class Interpolation.Swing extends Interpolation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.badlogic.gdx.math.Interpolation
Interpolation.Bounce, Interpolation.BounceIn, Interpolation.BounceOut, Interpolation.Elastic, Interpolation.ElasticIn, Interpolation.ElasticOut, Interpolation.Exp, Interpolation.ExpIn, Interpolation.ExpOut, Interpolation.Pow, Interpolation.PowIn, Interpolation.PowOut, Interpolation.Swing, Interpolation.SwingIn, Interpolation.SwingOut
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.math.Interpolation
bounce, bounceIn, bounceOut, circle, circleIn, circleOut, elastic, elasticIn, elasticOut, exp10, exp10In, exp10Out, exp5, exp5In, exp5Out, fade, fastSlow, linear, pow2, pow2In, pow2InInverse, pow2Out, pow2OutInverse, pow3, pow3In, pow3InInverse, pow3Out, pow3OutInverse, pow4, pow4In, pow4Out, pow5, pow5In, pow5Out, sine, sineIn, sineOut, slowFast, smooth, smooth2, smoother, swing, swingIn, swingOut
-
-
Constructor Summary
Constructors Constructor Description Swing(float scale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
apply(float a)
-
Methods inherited from class com.badlogic.gdx.math.Interpolation
apply
-
-
-
-
Method Detail
-
apply
public float apply(float a)
- Specified by:
apply
in classInterpolation
- Parameters:
a
- Alpha value between 0 and 1.
-
-