USoundNodeOscillator

Defines how a sound oscillates

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundNodeOscillator.h

Include

#include "Sound/SoundNodeOscillator.h"

Syntax

class USoundNodeOscillator : public USoundNode

Remarks

Defines how a sound oscillates

Variables

Name Description

Public variable

float

 

AmplitudeMax

An amplitude of 0.25 would oscillate between 0.75 and 1.25.

Public variable

float

 

AmplitudeMin

An amplitude of 0.25 would oscillate between 0.75 and 1.25.

Public variable

uint32: 1

 

bModulatePitch

Whether to oscillate pitch.

Public variable

uint32: 1

 

bModulateVolume

Whether to oscillate volume.

Public variable

float

 

CenterMax

A center of 0.5 would oscillate around 0.5.

Public variable

float

 

CenterMin

A center of 0.5 would oscillate around 0.5.

Public variable

float

 

FrequencyMax

A frequency of 20 would oscillate at 10Hz.

Public variable

float

 

FrequencyMin

A frequency of 20 would oscillate at 10Hz.

Public variable

float

 

OffsetMax

Offset into the sine wave. Value modded by 2 * PI.

Public variable

float

 

OffsetMin

Offset into the sine wave. Value modded by 2 * PI.

Constructors

Name Description

Public function

USoundNodeOscillator

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

void

 

ParseNodes

(
    FAudioDevice* AudioDevice,
    const UPTRINT NodeWaveInstanceHash,
    FActiveSound& ActiveSound,
    const FSoundParseParameters& Parse...,
    TArray< FWaveInstance* >& Wav...
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss