Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioOscilloscopeUMG.h |
| Include | #include "AudioOscilloscopeUMG.h" |
Syntax
UCLASS ()
class UAudioOscilloscope : public UWidget
Remarks
An oscilloscope UMG widget.
Supports displaying waveforms from incoming audio samples.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EYAxisLabelsUnit | AmplitudeGridLabelsUnit | Define the amplitude grid labels unit. | |
| float | AnalysisPeriodMs | The analysis period in milliseconds. | |
| TObjectPtr< UAudioBus > | AudioBus | The audio bus used to obtain audio samples for the oscilloscope | |
| bool | bShowAmplitudeGrid | Show/Hide the amplitude grid. | |
| bool | bShowAmplitudeLabels | Show/Hide the amplitude labels. | |
| bool | bShowTimeGrid | Show/Hide the time grid. | |
| bool | bShowTriggerThresholdLine | Show/Hide the trigger threshold line. | |
| FAudioOscilloscopePanelStyle | OscilloscopeStyle | The oscilloscope panel style | |
| EAudioPanelLayoutType | PanelLayoutType | Show/Hide advanced panel layout. | |
| EXAxisLabelsUnit | TimeGridLabelsUnit | Define the time grid labels unit. | |
| float | TimeWindowMs | The time window in milliseconds. | |
| float | TriggerThreshold | The trigger threshold position in the Y axis. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioOscilloscope
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Starts the oscilloscope processing. | ||
| void | Stops the oscilloscope processing. |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FGetOscilloscopeAudioSamples |
Constants
| Name | Description |
|---|---|
| DummyMaxNumSamples | |
| DummyNumChannels | |
| DummySampleRate | Dummy waveform data to display if audio bus is not set. |