channelCount(_:forParameter:)
Returns the number of channels in a parameter.
Declaration
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.
See Also
Instance Methods
add(_:toParameter:andChannel:)keyframe(_:atOrAfter:fromParameter:andChannel:)keyframe(_:atOrBefore:fromParameter:andChannel:)keyframe(_:forParameter:channel:andIndex:)keyframeCount(_:forParameter:andChannel:)parameter(_:channel:hasKeyframe:at:)removeAllKeyframes(forParameter:andChannel:)removeKeyframe(at:fromParameter:andChannel:)setKeyframeIndex(_:with:forParameter:andChannel:)