Files
UnrealEngine/Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Private/SMetasoundPalette.cpp
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

20 lines
596 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SMetasoundPalette.h"
#include "MetasoundEditorGraphSchema.h"
void SMetasoundPalette::Construct(const FArguments& InArgs)
{
SGraphPalette::Construct(SGraphPalette::FArguments().AutoExpandActionMenu(true));
}
void SMetasoundPalette::CollectAllActions(FGraphActionListBuilderBase& OutAllActions)
{
if (const UMetasoundEditorGraphSchema* Schema = GetDefault<UMetasoundEditorGraphSchema>())
{
FGraphActionMenuBuilder ActionMenuBuilder;
Schema->GetPaletteActions(ActionMenuBuilder);
OutAllActions.Append(ActionMenuBuilder);
}
}