Module |
|
Header |
/Engine/Source/Runtime/AudioAnalyzer/Classes/AudioAnalyzerNRT.h |
Include |
#include "AudioAnalyzerNRT.h" |
class UAudioAnalyzerNRT : public UAudioAnalyzerAsset
UAudioAnalyzerNRT applies an analyzer to a sound using specific settings, stores the results and exposes them via blueprints.
Subclasses of UAudioAnalyzerNRT must implement GetAnalyzerNRTFactoryName() to associate the UAudioAnalyzerNRT with an IAudioAnalyzerNRTFactory implementation.
To support blueprint access, subclasses can implement UFUNCTIONs to expose the data returned by GetResult().
Name | Description | ||
---|---|---|---|
|
float |
DurationInSeconds |
The duration of the analyzed audio in seconds. |
|
USoundWave *... |
Sound |
The USoundWave which is analyzed. |
Name | Description | ||
---|---|---|---|
|
AnalyzeAudio() |
Performs the analaysis of the audio |
|
|
GetAnalyzerNRTFactoryName() |
Subclasses must override this method in order to inform this object which AnalyzerNRTFactory to use for analysis |
|
|
TSharedPtr< ... |
GetResult() |
Returns the result object generated by the associated IAudioAnalyzerNRTFactory. |
|
TSharedPtr< ... |
GetResult() |
Returns the result object generated by the associated IAudioAnalyzerNRTFactory. |
|
TUniquePtr< ... |
GetSettings ( |
Implementations can override this method to create settings objects specific for their analyzer. |
|
RemoveSettingsDelegate ( |
This removes the existing delegate handle from the current settings object |
|
|
SetResult ( |
||
|
SetResultIfLatest ( |
This will only store the result if the passed InResultId matches the CurrentResultId. |
|
|
SetSettingsDelegate ( |
This sets the AnalyzeAudio callback to the delegate in settings. |
|
|
ShouldEventTriggerAnalysis ( |
Returns true when the PropertyChangeEvent is due to update SoundWave or Settings. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a UPROPERTY of this class is edited. |
|
|
PreEditChange ( |
Called before a UPROPERTY of this class is edited. |
|
|
Serialize ( |
Performs serialization of results. |
Name |
Description |
---|---|
FResultId |
ID to keep track of results. |
FResultSharedPtr |
Thread safe shared point to result object. |