Navigation
API > API/Plugins > API/Plugins/WaveTable > API/Plugins/WaveTable/FWaveTableSampler
Mode of interpolation between last value in table and subsequent input index when sampling single values.
| Name | ESingleSampleMode |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/WaveTable/Source/WaveTable/Public/WaveTableSampler.h |
| Include Path | #include "WaveTableSampler.h" |
Syntax
enum ESingleSampleMode
{
Zero = 0,
Unit = 1,
Hold,
Loop,
}
Values
| Name | Remarks |
|---|---|
| Zero | Interpolates last value to zero (0.0f) in table if sampled index is beyond last position. |
| Unit | Interpolates last value to unit (1.0f) in table if sampled index is beyond last position. |
| Hold | Holds last value in table if index is beyond last position. |
| Loop | Interpolates last value and first value in table if sampled index is beyond last position. |