Navigation
API > API/Runtime > API/Runtime/Slate
Container of multiple 'IUIActionContextBase' context objects for FUIActions. Use if you need or want to associate a FUICommandInfo with additional data.
Ex: An FOnGetContent delegate that can be called to generate a widget.
| Name | FUIActionContext |
| Type | struct |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Commands/UIAction.h |
| Include Path | #include "Framework/Commands/UIAction.h" |
Syntax
struct FUIActionContext
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Contexts | TArray< TSharedPtr< IUIActionContextBase > > | Framework/Commands/UIAction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddContext
(
const TSharedPtr< IUIActionContextBase >& InContext |
Framework/Commands/UIAction.h | ||
TSharedPtr< IUIActionContextBase > FindContext
(
const FName InName |
Framework/Commands/UIAction.h |