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
(
UObject* InContext |
||
![]() |
FToolMenuContext
(
UObject* InContext, |
||
![]() |
FToolMenuContext
(
TSharedPtr< FUICommandList > InCommandList, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddCleanup
(
FContextCleanup&& InCleanup |
|
![]() |
void | AddExtender
(
const TSharedPtr< FExtender >& InExtender |
|
![]() |
void | ||
![]() |
void | AddObject
(
UObject* InObject, |
|
![]() |
void | AppendCommandList
(
const TSharedRef< FUICommandList >& InCommandList |
|
![]() |
void | AppendCommandList
(
const TSharedPtr< FUICommandList >& InCommandList |
|
![]() |
void | AppendObjects
(
const TArray< UObject* >& InObjects |
|
![]() |
void | ||
![]() ![]() |
UObject * | FindByClass
(
UClass* InClass |
|
![]() ![]() |
TContextType * | FindContext () |
|
![]() ![]() |
const FUIAction * | GetActionForCommand
(
TSharedPtr< const FUICommandInfo > Command, |
|
![]() ![]() |
const FUIAction * | GetActionForCommand
(
TSharedPtr< const FUICommandInfo > Command |
|
![]() ![]() |
TSharedPtr< FExtender > | ||
![]() ![]() |
bool | IsEditing () |
|
![]() |
void | ||
![]() |
void | SetIsEditing
(
bool InIsEditing |
Typedefs
Name | Description |
---|---|
FContextCleanup | |
FContextObjectCleanup |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TContextType * | Find () |
Find is deprecated. Use the FindContext instead. |