Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/FNiagaraDataInterfaceProxySpectr-
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceAudioSpectrum.h |
| Include | #include "NiagaraDataInterfaceAudioSpectrum.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraDataInterfaceAudioSpectrum.cpp |
float GetSpectrumValue
&40;
float InNormalizedPositionInSpectrum,
int32 InChannelIndex
&41;
Remarks
Sample value from the spectrum buffer. Amplitude at this position. 0.0 corresponds to the nosie floor, while 1.0 corresponds to full volume. Some values may exceed 1.0.
Parameters
| Name | Description |
|---|---|
| InNormalizedPositionInSpectrum | Value between 0 and 1 which represents the relative frequency in the spectrum. 0 corresponds to the MinimumFrequency, 1 corresponds to the MaximumFrequency. Values between 0 and 1 correspond to logarithmically spaced frequencys in-between the limits. |
| InChannelIndex | The index of the audio channel to sample. |