public class VelocityMatrix
extends java.lang.Object
| Constructor and Description |
|---|
VelocityMatrix() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTransform(float locationX,
float locationY,
int width,
int height,
float[] mAnchorDpDt)
Apply the transform a velocity vector
|
void |
clear() |
void |
setRotationVelocity(KeyCycleOscillator osc_r,
float position) |
void |
setRotationVelocity(SplineSet rot,
float position) |
void |
setScaleVelocity(KeyCycleOscillator osc_sx,
KeyCycleOscillator osc_sy,
float position) |
void |
setScaleVelocity(SplineSet scale_x,
SplineSet scale_y,
float position) |
void |
setTranslationVelocity(KeyCycleOscillator osc_x,
KeyCycleOscillator osc_y,
float position) |
void |
setTranslationVelocity(SplineSet trans_x,
SplineSet trans_y,
float position) |
public void clear()
public void setRotationVelocity(SplineSet rot, float position)
public void setTranslationVelocity(SplineSet trans_x, SplineSet trans_y, float position)
public void setRotationVelocity(KeyCycleOscillator osc_r, float position)
public void setTranslationVelocity(KeyCycleOscillator osc_x, KeyCycleOscillator osc_y, float position)
public void setScaleVelocity(KeyCycleOscillator osc_sx, KeyCycleOscillator osc_sy, float position)
public void applyTransform(float locationX,
float locationY,
int width,
int height,
float[] mAnchorDpDt)
locationX - locationY - width - height - mAnchorDpDt -