USoundNodeDoppler

Computes doppler pitch shift

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Sound/SoundNodeDoppler.h"

Syntax

class USoundNodeDoppler : public USoundNode

Remarks

Computes doppler pitch shift

Variables

Name Description

Public variable

bool

 

bUseSmoothing

Whether or not to do a smooth interp to our doppler

Public variable

float

 

DopplerIntensity

How much to scale the doppler shift (1.0 is normal).

Public variable

float

 

SmoothingInterpSpeed

Speed at which to interp pitch scale

Constructors

Name Description

Public function

USoundNodeDoppler

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

float

 

GetDopplerPitchMultiplier

(
    float& CurrentPitchScale,
    bool bSmooth,
    FListener const& InListener,
    const FVector Location,
    const FVector Velocity,
    float DeltaTime
)

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