Navigation
API > API/Plugins > API/Plugins/Niagara
Data Interface allowing sampling of recent audio data.
| Name | UNiagaraDataInterfaceAudioOscilloscope |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceAudioOscilloscope.h |
| Include Path | #include "NiagaraDataInterfaceAudioOscilloscope.h" |
Syntax
UCLASS (EditInlineNew, Category="Audio", CollapseCategories,
Meta=(DisplayName="Audio Oscilloscope"), MinimalAPI)
class UNiagaraDataInterfaceAudioOscilloscope : public UNiagaraDataInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraNotifyOnChanged → UNiagaraDataInterfaceBase → UNiagaraDataInterface → UNiagaraDataInterfaceAudioOscilloscope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNiagaraDataInterfaceAudioOscilloscope
(
const FObjectInitializer& ObjectInitializer |
NiagaraDataInterfaceAudioOscilloscope.h |
Classes
| Name | Remarks |
|---|---|
| FShaderParameters |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxBufferResolution | const int32 | NiagaraDataInterfaceAudioOscilloscope.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Resolution | int32 | The number of samples of audio to pass to the GPU. | NiagaraDataInterfaceAudioOscilloscope.h |
|
| ScopeInMilliseconds | float | The number of milliseconds of audio to show. | NiagaraDataInterfaceAudioOscilloscope.h |
|
| Submix | TObjectPtr< USoundSubmix > | NiagaraDataInterfaceAudioOscilloscope.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetNumChannels
(
FVectorVMExternalFunctionContext& Context |
NiagaraDataInterfaceAudioOscilloscope.h | ||
void SampleAudio
(
FVectorVMExternalFunctionContext& Context |
VM function overrides: | NiagaraDataInterfaceAudioOscilloscope.h |
Overridden from UNiagaraDataInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
Allows the generic class defaults version of this class to specify any dependencies/version/etc that might invalidate the compile. | NiagaraDataInterfaceAudioOscilloscope.h | |
virtual bool CanExecuteOnTarget
(
ENiagaraSimTarget Target |
NiagaraDataInterfaceAudioOscilloscope.h | ||
virtual bool Equals
(
const UNiagaraDataInterface* Other |
Determines if this DataInterface is the same as another. | NiagaraDataInterfaceAudioOscilloscope.h | |
virtual bool GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
NiagaraDataInterfaceAudioOscilloscope.h | ||
virtual void GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
NiagaraDataInterfaceAudioOscilloscope.h | ||
virtual void GetVMExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
Returns the delegate for the passed function signature. | NiagaraDataInterfaceAudioOscilloscope.h | |
virtual void SetShaderParameters
(
const FNiagaraDataInterfaceSetShaderParametersContext& Context |
Set the shader parameters will only be called if the data interface provided shader parameters. | NiagaraDataInterfaceAudioOscilloscope.h |
Overridden from UNiagaraDataInterfaceBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildShaderParameters
(
FNiagaraShaderParametersBuilder& ShaderParametersBuilder |
NiagaraDataInterfaceAudioOscilloscope.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
NiagaraDataInterfaceAudioOscilloscope.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
NiagaraDataInterfaceAudioOscilloscope.h | ||
virtual void PostInitProperties() |
NiagaraDataInterfaceAudioOscilloscope.h | ||
virtual void PostLoad() |
NiagaraDataInterfaceAudioOscilloscope.h |
Protected
Overridden from UNiagaraDataInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CopyToInternal
(
UNiagaraDataInterface* Destination |
NiagaraDataInterfaceAudioOscilloscope.h | ||
virtual void GetFunctionsInternal
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
NiagaraDataInterfaceAudioOscilloscope.h |