<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -",
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxParameterSettingAPI_v5/setHistogramBlackIn(_:blackOut:whiteIn:whiteOut:gamma:forChannel:fromParameter:at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxParameterSettingAPI_v5(im)setHistogramBlackIn:blackOut:whiteIn:whiteOut:gamma:forChannel:fromParameter:atTime:"
  },
  "title" : "setHistogramBlackIn(_:blackOut:whiteIn:whiteOut:gamma:forChannel:fromParameter:at:)"
}
-->

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

Sets the values in a histogram parameter group.

```
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](/documentation/Professional-Video-Applications/understanding-time-in-fxplug).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)