Navigation
API > API/Plugins > API/Plugins/WaveTable
Inheritance Hierarchy
- FWaveTableTransform
- FSoundModulationTransform
References
| Module | WaveTable |
| Header | /Engine/Plugins/Runtime/WaveTable/Source/WaveTable/Public/WaveTableTransform.h |
| Include | #include "WaveTableTransform.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FWaveTableTransform
Variables
| Type | Name | Description | |
|---|---|---|---|
| EWaveTableCurve | Curve | The curve to apply when transforming the output. | |
| FRichCurve | CurveCustom | Custom curve to apply if output curve type is set to 'Custom.' | |
| TObjectPtr< UCurveFloat > | CurveShared | Asset curve reference to apply if output curve type is set to 'Shared.' | |
| float | Duration | Duration of curve or file. | |
| float | FinalValue | ||
| float | Scalar | When curve set to log, exponential or exponential inverse, value is factor 'b' in following equations with output 'y' and input 'x': Exponential: y = x * 10^-b(1-x) Exponential (Inverse): y = ((x - 1) * 10^(-bx)) + 1 Logarithmic: y = b * log(x) + 1 | |
| FWaveTableData | TableData | ||
| TArray< float > | WaveTable | ||
| FWaveTableSettings | WaveTableSettings |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Apply
(
float& InOutValue, |
Applies transform to provided index value, setting it to the corresponding value. | |
| void | CacheCurve () |
Caches curve data. | |
| void | CopyToWaveTable
(
FWaveTableData& InOutTableData, |
Copies a single, period [0.0, 1.0] to provided WaveTableData using this transform's curve. | |
| void | CreateWaveTable
(
FWaveTableData& InOutTableData, |
Creates WaveTableData from transform respective Curve settings. | |
| float | GetDuration () |
||
| FName | |||
| const FWaveTableData & | GetTableData () |
||
| void | Versions deprecated "WaveTable" property data to PCMData, to support serialization of different bit depths. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyToWaveTable
(
TArrayView< float > InOutTable, |
Use FWaveTableData version instead | |
| void | CreateWaveTable
(
TArray< float >& InOutTable, |
Use FWaveTableData version instead | |
| float | FinalValue has moved to TableData. Use property's FinalValue get accessor directly. | ||
| void | SetFinalValue
(
float InValue |
FinalValue has moved to TableData and is read-only. |