Contents

setHistogramBlackIn(_:blackOut:whiteIn:whiteOut:gamma:forChannel:fromParameter:at:)

Sets the values in a histogram parameter group.

Declaration

func setHistogramBlackIn(_ blackIn: Double, blackOut: Double, whiteIn: Double, whiteOut: Double, gamma: Double, forChannel channel: FxHistogramChannel, fromParameter parameterID: UInt32, at time: CMTime) -> Bool

Parameters

  • blackIn:

    The new black in level value.

  • blackOut:

    The new black out level value.

  • whiteIn:

    The new white in level value.

  • whiteOut:

    The new white out level value.

  • gamma:

    The new gamma level value.

  • channel:

    Specified channel for new histogram values (RGB: 0, Red: 1, Green: 2, Blue: 3, Alpha: 4).

  • parameterID:

    Parameter identifier assigned upon creation.

  • time:

    Specified time to set the values.

Return Value

Returns YES if the values are set successfully; NO otherwise.

Discussion

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 Understanding time in FxPlug.

See Also

Instance Methods