24 lines
550 B
C++
24 lines
550 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#include "IWaveformTransformation.h"
|
|
#include "Templates/SharedPointer.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(IWaveformTransformation)
|
|
|
|
TArray<Audio::FTransformationPtr> UWaveformTransformationChain::CreateTransformations() const
|
|
{
|
|
TArray<Audio::FTransformationPtr> TransformationPtrs;
|
|
|
|
for(UWaveformTransformationBase* Transformation : Transformations)
|
|
{
|
|
if(Transformation)
|
|
{
|
|
TransformationPtrs.Add(Transformation->CreateTransformation());
|
|
}
|
|
}
|
|
|
|
return TransformationPtrs;
|
|
}
|
|
|