// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "MetasoundFrontendDocument.h" #include "Templates/SharedPointer.h" #include "MetasoundCatCastingNode.h" #include "MetasoundCatBreakNode.generated.h" USTRUCT() struct FMetaSoundCatBreakNodeConfiguration : public FMetaSoundFrontendNodeConfiguration { GENERATED_BODY() FMetaSoundCatBreakNodeConfiguration() = default; UPROPERTY(EditAnywhere, Category = General, meta = (GetOptions="MetasoundCatCastingOptionsHelper.GetCastingOptions")) FName Format = TEXT("Stereo"); UPROPERTY(EditAnywhere, Category = General) EMetasoundCatCastingMethod TranscodeMethod = EMetasoundCatCastingMethod::ChannelDrop; UPROPERTY(EditAnywhere, Category = General, meta = (EditCondition = "TranscodeMethod == EMetasoundCatCastingMethod::MixUpOrDown", EditConditionHides)) EMetasoundChannelMapMonoUpmixMethod MixMethod = EMetasoundChannelMapMonoUpmixMethod::EqualPower; /* Get the current interface for the class based upon the node extension */ virtual TInstancedStruct OverrideDefaultInterface(const FMetasoundFrontendClass& InNodeClass) const override; /* Pass data down to the operator. */ virtual TSharedPtr GetOperatorData() const override; };