<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxKeyframeAPI_v3/channelCount(_:forParameter:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxKeyframeAPI_v3(im)channelCount:forParameter:"
  },
  "title" : "channelCount(_:forParameter:)"
}
-->

# channelCount(_:forParameter:)

Returns the number of channels in a parameter.

```
func channelCount(_ count: UnsafeMutablePointer<Int>, forParameter parameterID: Int) -> (any Error)?
```

## Parameters

`count`

Receives the count of channels in the parameter

`parameterID`

The ID of the parameter whose channels you want to count

## Return Value

Returns the number of channels in a parameter (sliders = 1, 2D points = 2, RGBA colors = 4, etc.) in the count parameter. If any errors occur, the return value will be a non-nil pointer to an NSError containing information about the error.

---

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)