Plugin.getPortRangesFloat

void getPortRangesFloat(float[] minValues, float[] maxValues, float[] defValues) @nogc nothrow

Get the port ranges (minimum, maximum and default values) for all ports.

min_values, max_values and def_values must be arrays of N floats, where N is the value returned by getNumPorts() for this plugin, or null/empty. The elements of the array will be set to the the minimum, maximum and default values of the ports on this plugin, with array index corresponding to port index. If a port doesn’t have a minimum, maximum or default value, or the port’s type is not float, the corresponding array element will be set to NaN.

This is a convenience method for the common case of getting the range of all float ports on a plugin, and may be significantly faster than repeated calls to Port.getRange().