iPlug 2: IParam::ShapeLinear Struct Reference
Linear parameter shaping. More...
#include <IPlugParameter.h>
Public Member Functions | |
| Shape * | Clone () const override |
| IParam::EDisplayType | GetDisplayType () const override |
| double | NormalizedToValue (double value, const IParam ¶m) const override |
| Returns the real value from a normalized input, based on an IParam's settings. More... | |
| double | ValueToNormalized (double value, const IParam ¶m) const override |
| Returns the normalized value from a real value, based on an IParam's settings. More... | |
Public Member Functions inherited from IParam::Shape | |
| virtual Shape * | Clone () const =0 |
| virtual void | Init (const IParam ¶m) |
| Initializes the shape instance. More... | |
| virtual EDisplayType | GetDisplayType () const =0 |
| virtual double | NormalizedToValue (double value, const IParam ¶m) const =0 |
| Returns the real value from a normalized input, based on an IParam's settings. More... | |
| virtual double | ValueToNormalized (double value, const IParam ¶m) const =0 |
| Returns the normalized value from a real value, based on an IParam's settings. More... | |
Public Attributes | |
| double | mShape |
Linear parameter shaping.
Definition at line 103 of file IPlugParameter.h.
◆ Clone()
|
inlineoverridevirtual |
◆ GetDisplayType()
- Returns
- EDisplayType, used by AudioUnit plugins to determine the mapping of parameters
Implements IParam::Shape.
Definition at line 106 of file IPlugParameter.h.
◆ NormalizedToValue()
|
overridevirtual |
Returns the real value from a normalized input, based on an IParam's settings.
- Parameters
-
value The normalized value as a doubleto be convertedparam The IParam to do the calculation against
- Returns
- double The real value
Implements IParam::Shape.
Definition at line 26 of file IPlugParameter.cpp.
◆ ValueToNormalized()
|
overridevirtual |
Returns the normalized value from a real value, based on an IParam's settings.
- Parameters
-
value The real value as a doubleto be convertedparam The IParam to do the calculation against
- Returns
- double The normalized value
Implements IParam::Shape.
Definition at line 31 of file IPlugParameter.cpp.
◆ mShape
double IParam::ShapeLinear::mShape
The documentation for this struct was generated from the following files:
Public Member Functions inherited from