Navigation
API > API/Plugins > API/Plugins/WaveTable
References
| Module | WaveTable |
| Header | /Engine/Plugins/Runtime/WaveTable/Source/WaveTable/Public/WaveTable.h |
| Include | #include "WaveTable.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FWaveTableData
Remarks
Serialized WaveTable data, that supports multiple bit depth formats.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWaveTableData
(
EWaveTableBitDepth InBitDepth |
|||
FWaveTableData
(
TArrayView< const float > InSamples, |
|||
FWaveTableData
(
TArrayView< const int16 > InSamples, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ArrayMixIn
(
TArrayView< float > OutputWaveSamples, |
Adds this WaveTableData's internal contents to the given float buffer view, initially performing bit depth conversion to values to IEEE_FLOAT if required. | |
| void | Empty () |
||
| EWaveTableBitDepth | GetBitDepth () |
||
| FName | |||
| bool | GetDataView
(
TArrayView< float >& OutData |
||
| bool | GetDataView
(
TArrayView< const int16 >& OutData |
||
| bool | GetDataView
(
TArrayView< const float >& OutData |
||
| bool | GetDataView
(
TArrayView< int16 >& OutData |
||
| float | |||
| int32 | |||
| const TArray< uint8 > & | GetRawData () |
||
| bool | IsEmpty () |
||
| bool | Resample
(
int32 InCurrentSampleRate, |
||
| void | Reset
(
int32 NumSamples |
||
| bool | SetBitDepth
(
EWaveTableBitDepth InBitDepth |
Converts bit depth and sets internal data to the requested bit depth. | |
| void | SetData
(
TArrayView< const float > InData, |
||
| void | SetData
(
TArrayView< const int16 > InData, |
||
| void | SetFinalValue
(
float InFinalValue |
||
| void | SetRawData
(
EWaveTableBitDepth InBitDepth, |
||
| void | SetRawData
(
EWaveTableBitDepth InBitDepth, |
||
| void | Zero
(
int32 InNumSamples |