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

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

Declaration

- (BOOL)setRedValue:(double)red GreenValue:(double)green BlueValue:(double)blue AlphaValue:(double)alpha toParm:(UInt32)parmId atTime:(double)time

Parameters

red

The color’s red component value.

green

The color’s green component value.

blue

The color’s blue component value.

alpha

The color’s alpha component 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.

Overview

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.

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.

- setFloatValue:toParm:atTime:

Sets an float value for a 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: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.