InterpolatorF

float value interpolator

Members

Functions

init
void init(int len)

set interpolation parameters to interpolate values in range _value .. _target in len frames

limitTargetChange
void limitTargetChange(int frameMillis, int attackMillis, int releaseMillis)

limit speed of target change

reset
void reset(float v)

reset to const

reset
void reset()

reset to target

Properties

isConst
bool isConst [@property getter]

returns true if interpolator will return const value

isZero
bool isZero [@property getter]

returns true if interpolator will return const value 0

next
float next [@property getter]

get next interpolated value

target
float target [@property setter]

set target value for interpolation

target
float target [@property getter]

get target value

value
float value [@property getter]

get current value

Meta