Navigation
Unreal Engine C++ API Reference > Developer > ToolMenus
References
Module | ToolMenus |
Header | /Engine/Source/Developer/ToolMenus/Public/ToolMenuContext.h |
Include | #include "ToolMenuContext.h" |
Syntax
struct FToolMenuContext
Constructors
Type | Name | Description |
---|---|---|
FToolMenuContext () | ||
FToolMenuContext ( UObject* InContext ) | ||
FToolMenuContext ( UObject* InContext, FContextObjectCleanup&& InCleanup ) | ||
FToolMenuContext ( TSharedPtr< FUICommandList > InComm..., TSharedPtr< FExtender > InExtender, UObject* InContext ) |
Functions
Type | Name | Description |
---|---|---|
void | AddCleanup ( FContextCleanup&& InCleanup ) | |
void | AddExtender ( const TSharedPtr< FExtender >& InE... ) | |
void | AddObject ( UObject* InObject ) | |
void | AddObject ( UObject* InObject, FContextObjectCleanup&& InCleanup ) | |
void | AppendCommandList ( const TSharedRef< FUICommandList > ... ) | |
void | AppendCommandList ( const TSharedPtr< FUICommandList > ... ) | |
void | AppendObjects ( const TArray< UObject* >& InO... ) | |
void | CleanupObjects () | |
UObject *... | FindByClass ( UClass* InClass ) | |
TContextType... | FindContext () | |
const FUIAct... | GetActionForCommand ( TSharedPtr< const FUICommandInfo > ..., TSharedPtr< const FUICommandList > ... ) | |
const FUIAct... | GetActionForCommand ( TSharedPtr< const FUICommandInfo > ... ) | |
TSharedPtr< ... | GetAllExtenders () | |
bool | IsEditing () | |
void | ResetExtenders () | |
void | SetIsEditing ( bool InIsEditing ) |
Typedefs
Name | Description |
---|---|
FContextCleanup | |
FContextObjectCleanup |
Deprecated Functions
Type | Name | Description |
---|---|---|
TContextType... | Find () | Find is deprecated. Use the FindContext instead. |