ufoProcessGetParamValue

Related Functions: ufoProcessGetParamValues, ufoProcessGetStringParamValue

double ufoProcessGetParamValue(
   ufoProcess process_instance,
   int param_index,
   ufoChannelIndex channel_index);

Refer to the following table for command descriptions:

Command

Description

param_index

index (0..number_parameters-1) of parameter

channel_index

index of channel from which current value will be returned (usually 0)

ufoChannelIndex

see ufoTypes.h for complete set of definitions for channel indices

Get parameter values(s) at the current time. Use ufoProcessGetParamValues for getting multiple values for parameters which have more than one channel. Use ufoProcessGetStringParamValue to get the current value of a ufoStringParam parameter, and returns a character string allocated with malloc which the UFO has the responsibility to free.

ufoProcessGetParamValue(s) and ufoProcessGetStringParamValue may be called within ufoProcessRenderPixel, ufoProcessRenderLine, ufoProcessRenderRectangle, ufoProcessCanAvoidRendering, ufoProcessPreRender, ufoProcessPostRender, ufoProcessPreRenderPass, ufoProcessPostRenderPass, ufoProcessCalcDefinedRectangle, ufoProcessCalcNeedRectangles, ufoProcessCalcDefinedPixelTypes, ufoProcessSpecifyConvertPixelTypes, and from within any editor user function or event function in the editor GUI.



Autodesk Softimage v7.5