Advanced properties of an AudioProcessorValueTreeState::Parameter.
More...
#include <juce_AudioProcessorValueTreeState.h>
◆ withStringFromValueFunction()
auto AudioProcessorValueTreeStateParameterAttributes::withStringFromValueFunction |
( |
StringFromValue | x | ) |
const |
|
nodiscard |
◆ withValueFromStringFunction()
auto AudioProcessorValueTreeStateParameterAttributes::withValueFromStringFunction |
( |
ValueFromString | x | ) |
const |
|
nodiscard |
◆ withLabel()
auto AudioProcessorValueTreeStateParameterAttributes::withLabel |
( |
String | x | ) |
const |
|
nodiscard |
◆ withCategory()
auto AudioProcessorValueTreeStateParameterAttributes::withCategory |
( |
Category | x | ) |
const |
|
nodiscard |
◆ withMeta()
auto AudioProcessorValueTreeStateParameterAttributes::withMeta |
( |
bool | x | ) |
const |
|
nodiscard |
◆ withAutomatable()
auto AudioProcessorValueTreeStateParameterAttributes::withAutomatable |
( |
bool | x | ) |
const |
|
nodiscard |
◆ withInverted()
auto AudioProcessorValueTreeStateParameterAttributes::withInverted |
( |
bool | x | ) |
const |
|
nodiscard |
◆ withDiscrete()
auto AudioProcessorValueTreeStateParameterAttributes::withDiscrete |
( |
bool | x | ) |
const |
|
nodiscard |
◆ withBoolean()
auto AudioProcessorValueTreeStateParameterAttributes::withBoolean |
( |
bool | x | ) |
const |
|
nodiscard |
Pass 'true' if this parameter only has two valid states.
Using an AudioParameterBool might be a better choice than setting this flag.
References withMember(), and x.
◆ getAudioParameterFloatAttributes()
const auto & AudioProcessorValueTreeStateParameterAttributes::getAudioParameterFloatAttributes |
( |
| ) |
const |
|
nodiscard |
◆ getDiscrete()
const auto & AudioProcessorValueTreeStateParameterAttributes::getDiscrete |
( |
| ) |
const |
|
nodiscard |
- Returns
- 'true' if this parameter has discrete steps, or 'false' if the parameter is continuous.
◆ getBoolean()
const auto & AudioProcessorValueTreeStateParameterAttributes::getBoolean |
( |
| ) |
const |
|
nodiscard |
- Returns
- 'true' if this parameter only has two valid states.
The documentation for this class was generated from the following file: