Contents

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