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

23 lines
628 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SCollectionPicker.h"
#include "Layout/Children.h"
#include "SCollectionView.h"
#define LOCTEXT_NAMESPACE "ContentBrowser"
void SCollectionPicker::Construct( const FArguments& InArgs )
{
ChildSlot
[
SNew(SCollectionView)
.AllowCollectionButtons(InArgs._CollectionPickerConfig.AllowCollectionButtons)
.OnCollectionSelected(InArgs._CollectionPickerConfig.OnCollectionSelected)
.AllowContextMenu( InArgs._CollectionPickerConfig.AllowRightClickMenu )
.CollectionContainer(InArgs._CollectionPickerConfig.CollectionContainer)
];
}
#undef LOCTEXT_NAMESPACE