Navigation
API > API/Plugins > API/Plugins/WaveformTransformations
Maintains an array of fade regions that can be placed in any location on the waveform. Each region has a start and end fade with optional offsets from the start and end of the waveform This transformation can be used in other transformation (ex. TrimFade)
| Name | UWaveformTransformationFade |
| Type | class |
| Header File | /Engine/Plugins/Editor/WaveformEditor/Source/WaveformTransformations/Public/WaveformTransformationFade.h |
| Include Path | #include "WaveformTransformationFade.h" |
Syntax
UCLASS (MinimalAPI)
class UWaveformTransformationFade : public UWaveformTransformationBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UWaveformTransformationBase → UWaveformTransformationFade
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWaveformTransformationFade
(
const FObjectInitializer& ObjectInitializer |
WaveformTransformationFade.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FadeModeToFadeFunctionMap | const TMap< EWaveEditorTransformationFadeMode, TSubclassOf< UTransformationFadeFunction > > | WaveformTransformationFade.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AvailableWaveformDuration | float | WaveformTransformationFade.h | ||
| EndFrameOffset | int64 | WaveformTransformationFade.h | ||
| OriginalNumFrames | int64 | WaveformTransformationFade.h | ||
| SampleRate | float | WaveformTransformationFade.h | ||
| StartFrameOffset | int64 | WaveformTransformationFade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< FTransformationFadeFunctionData > & GetFadeRegions() |
WaveformTransformationFade.h | ||
const int32 GetFadeRegionsNum() |
WaveformTransformationFade.h | ||
TArray< FTransformationFadeFunctionData > & GetMutableFadeRegions() |
WaveformTransformationFade.h | ||
const float GetSampleRate() |
WaveformTransformationFade.h | ||
void LimitFadeRegionsToOne() |
Remove all fade regions other than the first one. Logs a warning if it removes any fade regions | WaveformTransformationFade.h |
Public Virtual
Overridden from UWaveformTransformationBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual Audio::FTransformationPtr CreateTransformation() |
WaveformTransformationFade.h | ||
virtual FString GetTransformationHash() |
WaveformTransformationFade.h | ||
virtual void UpdateConfiguration
(
FWaveTransformUObjectConfiguration& InOutConfiguration |
WaveformTransformationFade.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
WaveformTransformationFade.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetFadeRegionsPropertyName() |
WaveformTransformationFade.h |