Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound > API/Runtime/Engine/Sound/USoundWave
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include | #include "Sound/SoundWave.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SoundWave.cpp |
TArray < FSoundWaveCuePoint > GetCuePointsScaledForSampleRate
(
const float InSampleRate
) const
Remarks
Returns this SoundWave's CuePoints array with the frame values scaled by InSampleRate / ImportedSampleRate to account for resampling of the sound wave source data. If no resampling is necessary, returns the CuePoints as-is. CuePoints array scaled if resampling occurred
Parameters
| Name | Description |
|---|---|
| InSampleRate | The sample rate the SoundWave |