interpolate_value


Description:

[ Version ( since = "1.8" ) ]
public abstract bool interpolate_value (string property_name, Interval interval, double progress, out Value value)

Asks a Animatable implementation to interpolate a a named property between the initial and final values of a Interval, using progress as the interpolation value, and store the result inside value.

This function should be used for every property animation involving Animatable s.

This function replaces animate_property.

Parameters:

this

a Animatable

property_name

the name of the property to interpolate

interval

a Interval with the animation range

progress

the progress to use to interpolate between the initial and final values of the interval

value

return location for an initialized Value using the same type of the interval

Returns:

true if the interpolation was successful, and false otherwise