FNiagaraDataInterfaceProxyOscilloscope::SampleAudio

Sample vertical displacement from the oscilloscope buffer.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceAudioOscilloscope.h

Include

#include "NiagaraDataInterfaceAudioOscilloscope.h"

Source

/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraDataInterfaceAudioOscilloscope.cpp

Syntax

float SampleAudio
(
    float NormalizedPositionInBuffer,
    int32 Channel,
    int32 NumFramesInBuffer,
    int32 NumChannelsInBuffer
)

Remarks

Sample vertical displacement from the oscilloscope buffer.

Returns

Amplitude at this position.

Parameters

Parameter

Description

NormalizedPositionInBuffer

Horizontal position in the Oscilloscope buffer, from 0.0 to 1.0.

Channel

channel index.

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