public class Rotation extends Transformation<Rotation,ITransformable.Rotate>
Modifier and Type | Field and Description |
---|---|
protected float |
axisX |
protected float |
axisY |
protected float |
axisZ |
protected float |
fromAngle |
protected float |
offsetX |
protected float |
offsetY |
protected float |
offsetZ |
protected float |
toAngle |
delay, duration, elapsedTimeCurrentLoop, LINEAR, loopResetDelay, loops, loopStartDelay, movement, reversed, SINUSOIDAL
Constructor and Description |
---|
Rotation(float angle) |
Rotation(float fromAngle,
float toAngle) |
Rotation(float angle,
float axisX,
float axisY,
float axisZ) |
Rotation(float angle,
float axisX,
float axisY,
float axisZ,
float offsetX,
float offsetY,
float offsetZ) |
Modifier and Type | Method and Description |
---|---|
Rotation |
aroundAxis(float x,
float y,
float z) |
protected void |
doTransform(ITransformable.Rotate transformable,
float comp) |
Rotation |
from(float angle) |
Rotation |
offset(float x,
float y,
float z) |
Rotation |
to(float angle) |
completion, delay, forTicks, forTicks, getDelay, getDuration, getLoopDuration, getLoops, loop, loop, movement, reversed, totalDuration, transform, transform
protected float fromAngle
protected float toAngle
protected float axisX
protected float axisY
protected float axisZ
protected float offsetX
protected float offsetY
protected float offsetZ
public Rotation(float angle)
public Rotation(float fromAngle, float toAngle)
public Rotation(float angle, float axisX, float axisY, float axisZ)
public Rotation(float angle, float axisX, float axisY, float axisZ, float offsetX, float offsetY, float offsetZ)
public Rotation from(float angle)
public Rotation to(float angle)
public Rotation aroundAxis(float x, float y, float z)
public Rotation offset(float x, float y, float z)
protected void doTransform(ITransformable.Rotate transformable, float comp)
doTransform
in class Transformation<Rotation,ITransformable.Rotate>