Instance Method

setFloatValue:toParm:atTime:

Sets an float value for a parameter.

Required.

Declaration

- (BOOL)setFloatValue:(double)value toParm:(UInt32)parmId atTime:(double)time;

Parameters

value

The float value.

parmId

The unique ID of the parameter to set the value for.

time

The time at which to set the parameter value.

Return Value

YES if the value is set successfully; otherwise NO.

Discussion

When used to get the value of an angle parameter, the result will be expressed in counter-clockwise degrees.

Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See Timebase Type for more information.

In FxPlug SDK 1.2, the documentation for this method incorrectly stated that angle values were returned in radians.

See Also

Setting Parameter Values

- setBoolValue:toParm:atTime:

Sets a Boolean value for a parameter.

Required.

- setCustomParameterValue:toParm:

Sets an opaque value object for a custom parameter.

Required.

- setIntValue:toParm:atTime:

Sets an integer value for a parameter.

Required.

- setParameterFlags:toParm:

Sets the current state of the parameter.

Required.

- setRedValue:greenValue:blueValue:alphaValue:toParm:atTime:

Sets RGBA color value (in 0.0 - 1.0 floating point) for a parameter.

Required.

- setRedValue:GreenValue:BlueValue:AlphaValue:toParm:atTime:

Sets RGBA color value (in 0.0 - 1.0 floating point) for a parameter.

- setRedValue:greenValue:blueValue:toParm:atTime:

Sets RGB color value (in 0.0 - 1.0 floating point) for a parameter.

Required.

- setRedValue:GreenValue:BlueValue:toParm:atTime:

Sets RGB color value (in 0.0 - 1.0 floating point) for a parameter.

- setXValue:YValue:toParm:atTime:

Sets the x,y position value (in 0.0 - 1.0 floating point) for a parameter.

Required.