You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
20 lines
596 B
C++
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);
|
|
}
|
|
}
|