public class VelocityMatrix


This is used to calculate the related velocity matrix for a post layout matrix

Summary

Public constructors

Public methods

void
applyTransform(
    float locationX,
    float locationY,
    int width,
    int height,
    float[] mAnchorDpDt
)

Apply the transform a velocity vector

void
void
setRotationVelocity(KeyCycleOscillator oscR, float position)
void
setRotationVelocity(SplineSet rot, float position)
void
setScaleVelocity(
    KeyCycleOscillator oscSx,
    KeyCycleOscillator oscSy,
    float position
)
void
setScaleVelocity(SplineSet scaleX, SplineSet scaleY, float position)
void
setTranslationVelocity(
    KeyCycleOscillator oscX,
    KeyCycleOscillator oscY,
    float position
)
void
setTranslationVelocity(
    SplineSet transX,
    SplineSet transY,
    float position
)

Public constructors

VelocityMatrix

Added in 1.1.0
public VelocityMatrix()

Public methods

applyTransform

Added in 1.1.0
public void applyTransform(
    float locationX,
    float locationY,
    int width,
    int height,
    float[] mAnchorDpDt
)

Apply the transform a velocity vector

clear

Added in 1.1.0
public void clear()

setRotationVelocity

Added in 1.1.0
public void setRotationVelocity(KeyCycleOscillator oscR, float position)

setRotationVelocity

Added in 1.1.0
public void setRotationVelocity(SplineSet rot, float position)

setScaleVelocity

Added in 1.1.0
public void setScaleVelocity(
    KeyCycleOscillator oscSx,
    KeyCycleOscillator oscSy,
    float position
)

setScaleVelocity

Added in 1.1.0
public void setScaleVelocity(SplineSet scaleX, SplineSet scaleY, float position)

setTranslationVelocity

Added in 1.1.0
public void setTranslationVelocity(
    KeyCycleOscillator oscX,
    KeyCycleOscillator oscY,
    float position
)

setTranslationVelocity

Added in 1.1.0
public void setTranslationVelocity(
    SplineSet transX,
    SplineSet transY,
    float position
)