Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/SItemSelector
| Name | FItemSelectorViewModel |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/Widgets/SItemSelector.h |
| Include Path | #include "Widgets/SItemSelector.h" |
Syntax
class FItemSelectorViewModel :
public SItemSelector< CategoryType, ItemType, SectionType, CategoryKeyType, ItemKeyType, SectionKeyType >::IItemSelectorItemViewModelUtilities,
public TSharedFromThis< FItemSelectorViewModel >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SItemSelector::FItemSelectorViewModel
- SItemSelector< CategoryType, ItemType, SectionType, CategoryKeyType, ItemKeyType, SectionKeyType >::IItemSelectorItemViewModelUtilities → SItemSelector::FItemSelectorViewModel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FItemSelectorViewModel
(
TArray< ItemType > InItems, |
Widgets/SItemSelector.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPreserveExpansionOnRefresh | bool | Widgets/SItemSelector.h | ||
| bPreserveSelectionOnRefresh | bool | Widgets/SItemSelector.h | ||
| CurrentMaxWeight | int32 | Widgets/SItemSelector.h | ||
| CurrentSuggestionIndex | int32 | Widgets/SItemSelector.h | ||
| DefaultCategoryPaths | TArray< TArray< CategoryType > > | Widgets/SItemSelector.h | ||
| FilteredFlattenedItems | TArray< TSharedRef< FItemSelectorItemContainerViewModel > > | Widgets/SItemSelector.h | ||
| FilterText | FText | Widgets/SItemSelector.h | ||
| HideSingleSection | TAttribute< bool > | Widgets/SItemSelector.h | ||
| Items | TArray< ItemType > | Widgets/SItemSelector.h | ||
| OnCompareCategoriesForEquality | FOnCompareCategoriesForEquality | Widgets/SItemSelector.h | ||
| OnCompareCategoriesForSorting | FOnCompareCategoriesForSorting | Widgets/SItemSelector.h | ||
| OnCompareItemsForEquality | FOnCompareItemsForEquality | Widgets/SItemSelector.h | ||
| OnCompareItemsForSorting | FOnCompareItemsForSorting | Widgets/SItemSelector.h | ||
| OnCompareSectionsForEquality | FOnCompareSectionsForEquality | Widgets/SItemSelector.h | ||
| OnCompareSectionsForSorting | FOnCompareSectionsForSorting | Widgets/SItemSelector.h | ||
| OnDoesItemMatchFilterText | FOnDoesItemMatchFilterText | Widgets/SItemSelector.h | ||
| OnDoesItemPassCustomFilter | FOnDoesItemPassCustomFilter | Widgets/SItemSelector.h | ||
| OnDoesSectionPassCustomFilter | FOnDoesSectionPassCustomFilter | Widgets/SItemSelector.h | ||
| OnGetCategoriesForItem | FOnGetCategoriesForItem | Widgets/SItemSelector.h | ||
| OnGetItemWeight | FOnGetItemWeight | Widgets/SItemSelector.h | ||
| OnGetKeyForCategory | FOnGetKeyForCategory | Widgets/SItemSelector.h | ||
| OnGetKeyForItem | FOnGetKeyForItem | Widgets/SItemSelector.h | ||
| OnGetKeyForSection | FOnGetKeyForSection | Widgets/SItemSelector.h | ||
| OnGetSectionData | FOnGetSectionData | Widgets/SItemSelector.h | ||
| OnGetSectionsForItem | FOnGetSectionsForItem | Widgets/SItemSelector.h | ||
| OnSuggestionUpdated | FOnSuggestionUpdated | Widgets/SItemSelector.h | ||
| RootTreeCategories | TArray< TSharedRef< FItemSelectorItemViewModel > > | Widgets/SItemSelector.h | ||
| RootViewModel | TSharedPtr< FRootViewModel > | Widgets/SItemSelector.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCategoryToRoot
(
const CategoryType& Category |
Widgets/SItemSelector.h | ||
void AddItemRecursive
(
const ItemType& Item |
Widgets/SItemSelector.h | ||
void AddItemToRoot
(
const ItemType& Item, |
Widgets/SItemSelector.h | ||
bool CanCompareItems() |
Widgets/SItemSelector.h | ||
virtual bool CompareCategoriesForEquality
(
const CategoryType& CategoryA, |
Widgets/SItemSelector.h | ||
int32 CompareItems
(
const ItemType& ItemA, |
Widgets/SItemSelector.h | ||
virtual bool CompareItemsForEquality
(
const ItemType& ItemA, |
Widgets/SItemSelector.h | ||
virtual bool CompareSectionsForEquality
(
const SectionType& SectionA, |
Widgets/SItemSelector.h | ||
virtual bool DoesItemPassFilter
(
const ItemType& InItem |
Widgets/SItemSelector.h | ||
virtual bool DoesSectionPassFilter
(
const SectionType& InSection |
Widgets/SItemSelector.h | ||
TSharedPtr< FItemSelectorItemCategoryViewModel > FindOrAddNestedCategory
(
TSharedRef< FSectionViewModel >& SectionViewModel, |
Widgets/SItemSelector.h | ||
TSharedPtr< FItemSelectorItemCategoryViewModel > FindOrAddNestedCategoryInRoot
(
const TArray< CategoryType >& CategoryPath |
Widgets/SItemSelector.h | ||
TSharedRef< FSectionViewModel > FindOrAddSection
(
const SectionType& Section |
Widgets/SItemSelector.h | ||
void GetChildrenRecursive
(
TArray< TSharedRef< FItemSelectorItemViewModel > >& OutChildren |
Widgets/SItemSelector.h | ||
virtual int32 GetCurrentMaxWeight() |
Widgets/SItemSelector.h | ||
virtual int32 GetCurrentSuggestionIndex() |
Widgets/SItemSelector.h | ||
const FText & GetFilterText() |
Widgets/SItemSelector.h | ||
const TArray< TSharedRef< FItemSelectorItemContainerViewModel > > & GetFlattenedItems() |
Widgets/SItemSelector.h | ||
void GetItemViewModelsForItems
(
const TArray< ItemType >& InItems, |
Widgets/SItemSelector.h | ||
virtual int32 GetItemWeight
(
const ItemType& InItem, |
Widgets/SItemSelector.h | ||
virtual const ItemKeyType GetKeyForItem
(
const ItemType& InItem |
Widgets/SItemSelector.h | ||
virtual const FOnCompareCategoriesForSorting & GetOnCompareCategoriesForSorting() |
Widgets/SItemSelector.h | ||
virtual const FOnCompareItemsForSorting & GetOnCompareItemsForSorting() |
Widgets/SItemSelector.h | ||
virtual const FOnCompareSectionsForSorting & GetOnCompareSectionsForSorting() |
Widgets/SItemSelector.h | ||
const TArray< TSharedRef< FItemSelectorItemViewModel > > * GetRootItems() |
Widgets/SItemSelector.h | ||
TSharedPtr< FRootViewModel > GetRootViewModel() |
Widgets/SItemSelector.h | ||
const TArray< TSharedRef< FSectionViewModel > > & GetSections() |
Widgets/SItemSelector.h | ||
virtual bool IsFiltering() |
Widgets/SItemSelector.h | ||
virtual bool IsSearching() |
Widgets/SItemSelector.h | ||
int32 NumFlattenedItems() |
Widgets/SItemSelector.h | ||
| Widgets/SItemSelector.h | |||
void SetFilterText
(
FText InFilterText, |
Widgets/SItemSelector.h | ||
virtual bool ShouldHideSingleSection() |
Widgets/SItemSelector.h | ||
virtual void UpdateCurrentMaxWeight
(
int32 InCurrentWeight |
Widgets/SItemSelector.h | ||
virtual void UpdateCurrentSuggestionIndex
(
const int32& Index |
Widgets/SItemSelector.h | ||
void UpdateSuggestedItem() |
Widgets/SItemSelector.h |