Navigation
API > API/Plugins > API/Plugins/AudioWidgets > API/Plugins/AudioWidgets/FAudioSpectrogramViewport
Inheritance Hierarchy
- FNoncopyable
- FAudioSpectrogramViewport::FHistoryFrameData
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioSpectrogramViewport.h |
| Include | #include "AudioSpectrogramViewport.h" |
Syntax
class FHistoryFrameData : public FNoncopyable
Remarks
Stores one frame of spectrogram data. Also generates the visual representation of this data as colored pixels, according to the given render params.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHistoryFrameData
(
FHistoryFrameData&& Other |
Include a move constructor due to being non-copyable. | ||
FHistoryFrameData
(
const FAudioSpectrogramFrameData& SpectrogramFrameData, |
Construct a history row to store the given spectrum data. Optionally also specify the pixel bucket mode to pre-allocate space for mips if required. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TConstArrayView< FColor > | Read the last generated pixel data. | ||
| void | UpdateCachedPixels
(
const FAudioSpectrogramViewportRenderParams& InRenderParams |
Generate pixel data for this frame according to the given render params. |