Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USoundNode
- USoundNodeOscillator
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/SoundNodeOscillator.h |
| Include | #include "Sound/SoundNodeOscillator.h" |
Syntax
UCLASS (HideCategories=Object, EditInlineNew, Meta=(DisplayName="Oscillator"))
class USoundNodeOscillator : public USoundNode
Remarks
Defines how a sound oscillates
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AmplitudeMax | An amplitude of 0.25 would oscillate between 0.75 and 1.25. | |
| float | AmplitudeMin | An amplitude of 0.25 would oscillate between 0.75 and 1.25. | |
| uint32: 1 | bModulatePitch | Whether to oscillate pitch. | |
| uint32: 1 | bModulateVolume | Whether to oscillate volume. | |
| float | CenterMax | A center of 0.5 would oscillate around 0.5. | |
| float | CenterMin | A center of 0.5 would oscillate around 0.5. | |
| float | FrequencyMax | A frequency of 20 would oscillate at 10Hz. | |
| float | FrequencyMin | A frequency of 20 would oscillate at 10Hz. | |
| float | OffsetMax | Offset into the sine wave. Value modded by 2 * PI. | |
| float | OffsetMin | Offset into the sine wave. Value modded by 2 * PI. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USoundNodeOscillator
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ParseNodes
(
FAudioDevice* AudioDevice, |