Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
- ISlateViewport
- TSharedFromThis
- FAudioSpectrogramViewport
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioSpectrogramViewport.h |
| Include | #include "AudioSpectrogramViewport.h" |
Syntax
class FAudioSpectrogramViewport :
public ISlateViewport,
public TSharedFromThis< FAudioSpectrogramViewport >
Remarks
Maintains a history of spectrogram frames, and presents their visualization by implementing ISlateViewport.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddFrame
(
const FAudioSpectrogramFrameData& SpectrogramFrameData |
Add the given spectrum frame data to the history buffer. | |
| bool | AllowScaling () |
||
| FIntPoint | GetSize () |
ISlateViewport interface | |
| FSlateShaderResource * | |||
| bool | |||
| void | SetRenderParams
(
const FAudioSpectrogramViewportRenderParams& InRenderParams |
The render params must be set before the FAudioSpectrogramViewport will do anything. |