Klasse Easing.Elastic
java.lang.Object
de.luckymcdev.foundryengine.common.easing.Easing
de.luckymcdev.foundryengine.common.easing.Easing.Elastic
- Bekannte direkte Unterklassen:
Easing.ElasticIn, Easing.ElasticInOut, Easing.ElasticOut
- Umschließende Klasse:
Easing
A base class for elastic easings.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen Easing
Easing.Back, Easing.BackIn, Easing.BackInOut, Easing.BackOut, Easing.Elastic, Easing.ElasticIn, Easing.ElasticInOut, Easing.ElasticOut -
Feldübersicht
Von Klasse geerbte Felder Easing
BACK_IN, BACK_IN_OUT, BACK_OUT, BOUNCE_IN, BOUNCE_IN_OUT, BOUNCE_OUT, CIRC_IN, CIRC_IN_OUT, CIRC_OUT, CODEC, CUBIC_IN, CUBIC_IN_OUT, CUBIC_OUT, EASINGS, ELASTIC_IN, ELASTIC_IN_OUT, ELASTIC_OUT, EXPO_IN, EXPO_IN_OUT, EXPO_OUT, LINEAR, name, QUAD_IN, QUAD_IN_OUT, QUAD_OUT, QUARTIC_IN, QUARTIC_IN_OUT, QUARTIC_OUT, QUINTIC_IN, QUINTIC_IN_OUT, QUINTIC_OUT, SINE_IN, SINE_IN_OUT, SINE_OUT -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungfloatReturns the amplitude.floatReturns the period.voidsetAmplitude(float amplitude) Sets the amplitude to the given value.voidsetPeriod(float period) Sets the period to the given value.
-
Konstruktordetails
-
Elastic
Creates a new Elastic easing with the specified settings.- Parameter:
name- the name of this easingamplitude- the amplitude for the elastic functionperiod- the period for the elastic function
-
Elastic
Creates a new Elastic easing with default settings (-1f, 0f).- Parameter:
name- the name of this easing
-
-
Methodendetails
-
getPeriod
public float getPeriod()Returns the period.- Gibt zurück:
- the period for this easing
-
setPeriod
public void setPeriod(float period) Sets the period to the given value.- Parameter:
period- the new period
-
getAmplitude
public float getAmplitude()Returns the amplitude.- Gibt zurück:
- the amplitude for this easing
-
setAmplitude
public void setAmplitude(float amplitude) Sets the amplitude to the given value.- Parameter:
amplitude- the new amplitude
-