public class Translation extends Transformation<Translation,ITransformable.Translate>
Modifier and Type | Field and Description |
---|---|
protected float |
fromX |
protected float |
fromY |
protected float |
fromZ |
protected float |
toX |
protected float |
toY |
protected float |
toZ |
delay, duration, elapsedTimeCurrentLoop, LINEAR, loopResetDelay, loops, loopStartDelay, movement, reversed, SINUSOIDAL
Constructor and Description |
---|
Translation(float x,
float y,
float z) |
Translation(float fromX,
float fromY,
float fromZ,
float toX,
float toY,
float toZ) |
Modifier and Type | Method and Description |
---|---|
protected void |
doTransform(ITransformable.Translate transformable,
float comp) |
Translation |
from(float x,
float y,
float z) |
Translation |
to(float x,
float y,
float z) |
completion, delay, forTicks, forTicks, getDelay, getDuration, getLoopDuration, getLoops, loop, loop, movement, reversed, totalDuration, transform, transform
protected float fromX
protected float fromY
protected float fromZ
protected float toX
protected float toY
protected float toZ
public Translation(float x, float y, float z)
public Translation(float fromX, float fromY, float fromZ, float toX, float toY, float toZ)
public Translation from(float x, float y, float z)
public Translation to(float x, float y, float z)
protected void doTransform(ITransformable.Translate transformable, float comp)
doTransform
in class Transformation<Translation,ITransformable.Translate>