Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

34 lines
1.3 KiB
C

// 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<FMetasoundFrontendClassInterface> OverrideDefaultInterface(const FMetasoundFrontendClass& InNodeClass) const override;
/* Pass data down to the operator. */
virtual TSharedPtr<const Metasound::IOperatorData> GetOperatorData() const override;
};