---
title: "setHistogramBlackIn(_:blackOut:whiteIn:whiteOut:gamma:forChannel:fromParameter:at:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.0+]
path: "professional_video_applications/fxparametersettingapi_v5/sethistogramblackin(_:blackout:whitein:whiteout:gamma:forchannel:fromparameter:at:)"
---

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

Sets the values in a histogram parameter group.

## Declaration

```swift
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

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

## Discussion

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

- [setBoolValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setboolvalue(_:toparameter:at:).md)
- [setCustomParameterValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setcustomparametervalue(_:toparameter:at:).md)
- [setFloatValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setfloatvalue(_:toparameter:at:).md)
- [setIntValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setintvalue(_:toparameter:at:).md)
- [setParameterFlags(_:toParameter:)](professional_video_applications/fxparametersettingapi_v5/setparameterflags(_:toparameter:).md)
- [setPathID(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setpathid(_:toparameter:at:).md)
- [setRedValue(_:greenValue:blueValue:alphaValue:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setredvalue(_:greenvalue:bluevalue:alphavalue:toparameter:at:).md)
- [setRedValue(_:greenValue:blueValue:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setredvalue(_:greenvalue:bluevalue:toparameter:at:).md)
- [setStringParameterValue(_:toParameter:)](professional_video_applications/fxparametersettingapi_v5/setstringparametervalue(_:toparameter:).md)
- [setXValue(_:yValue:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setxvalue(_:yvalue:toparameter:at:).md)
