Contents

setParameterFlags(_:toParameter:)

Sets the flags for the state of a parameter.

Declaration

func setParameterFlags(_ flags: FxParameterFlags, toParameter parameterID: UInt32) -> Bool

Parameters

  • flags:

    Specified flag values for the parameter.

  • parameterID:

    Unique identifier for the parameter.

Return Value

Returns YES if the value is set successfully; NO otherwise.

Discussion

Setting or resetting the kFxParameterFlag_HIDDEN flag on a ParameterSubGroup parameter will also hide or reveal all of the controls within the group. Likewise, changing the kFxParameterFlag_DISABLED flag value affects all of the controls within the group as well.

See Also

Instance Methods