get_value_array


Description:

public virtual bool get_value_array<T> (ClockTime timestamp, ClockTime interval, T[] values)

Gets a number of values for the given controlled property starting at the requested time.

The array values needs to hold enough space for values.length of the same type as the objects property's type.

This function is useful if one wants to e.g. draw a graph of the control curve or apply a control curve sample by sample.

The values are unboxed and ready to be used. The similar function get_g_value_array returns the array as Values and is more suitable for bindings.

Parameters:

this

the control binding

timestamp

the time that should be processed

interval

the time spacing between subsequent values

values

array to put control-values in

n_values

the number of values

Returns:

true if the given array could be filled, false otherwise