Navigation
API > API/Plugins > API/Plugins/TechAudioTools
Base class for any float value mapping that translates between two domains:
- Source domain: range used by an internal system (e.g. a MetaSound that uses linear gain or frequency multiplier).
- Display domain: how that value is shown or edited in the UI (e.g. sliders or knobs that use decibels or semitones).
| Name | UTechAudioToolsFloatMapping |
| Type | class |
| Header File | /Engine/Plugins/Experimental/TechAudioTools/Source/TechAudioTools/Public/TechAudioToolsFloatMapping.h |
| Include Path | #include "TechAudioToolsFloatMapping.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, EditInlineNew, DefaultToInstanced, CollapseCategories,
DisplayName="TechAudioTools Float Mapping")
class UTechAudioToolsFloatMapping : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTechAudioToolsFloatMapping
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DisplayPitchUnits | ETechAudioToolsPitchUnit | TechAudioToolsFloatMapping.h |
|
|
| DisplayRange | FFloatInterval | TechAudioToolsFloatMapping.h |
|
|
| DisplayRange_Decibels | FFloatInterval | TechAudioToolsFloatMapping.h |
|
|
| DisplayRange_FrequencyMultiplier | FFloatInterval | TechAudioToolsFloatMapping.h |
|
|
| DisplayRange_LinearGain | FFloatInterval | TechAudioToolsFloatMapping.h |
|
|
| DisplayRange_Semitones | FFloatInterval | TechAudioToolsFloatMapping.h |
|
|
| DisplayUnits | ETechAudioToolsFloatUnit | Units used to label the display range. | TechAudioToolsFloatMapping.h |
|
| DisplayVolumeUnits | ETechAudioToolsVolumeUnit | TechAudioToolsFloatMapping.h |
|
|
| MappingType | ETechAudioToolsFloatMappingType | Selects the mapping mode. | TechAudioToolsFloatMapping.h |
|
| Range | FFloatInterval | Default min/max values. | TechAudioToolsFloatMapping.h |
|
| SourcePitchUnits | ETechAudioToolsPitchUnit | Units of the internal pitch value. | TechAudioToolsFloatMapping.h |
|
| SourceRange | FFloatInterval | Range used by an internal system. | TechAudioToolsFloatMapping.h |
|
| SourceVolumeUnits | ETechAudioToolsVolumeUnit | Units of the internal volume value. | TechAudioToolsFloatMapping.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float DisplayToNormalized
(
float InDisplay |
TechAudioToolsFloatMapping.h | ||
float DisplayToSource
(
float InDisplay |
TechAudioToolsFloatMapping.h | ||
float GetDisplayMax() |
Returns the range maximum of the display range. | TechAudioToolsFloatMapping.h |
|
float GetDisplayMin() |
Returns the range minimum of the display range. | TechAudioToolsFloatMapping.h |
|
float GetSourceMax() |
Returns the range maximum of the source range. | TechAudioToolsFloatMapping.h |
|
float GetSourceMin() |
Returns the range minimum of the source range. | TechAudioToolsFloatMapping.h |
|
ETechAudioToolsFloatUnit GetUnits
(
ETechAudioToolsMappingEndpoint Endpoint |
Returns the units used by the Source or Display endpoints. | TechAudioToolsFloatMapping.h |
|
float NormalizedToDisplay
(
float InNormalized |
TechAudioToolsFloatMapping.h | ||
float NormalizedToSource
(
float InNormalized |
TechAudioToolsFloatMapping.h | ||
float SourceToDisplay
(
float InSource |
TechAudioToolsFloatMapping.h | ||
float SourceToNormalized
(
float InSource |
TechAudioToolsFloatMapping.h |