FEditorModeInfo

Unreal Engine C++ API Reference > Editor > EditorFramework > Tools

References

   
Module EditorFramework
Header /Engine/Source/Editor/EditorFramework/Public/Tools/Modes.h
Include #include "Tools/Modes.h"

Syntax

struct FEditorModeInfo  

Variables

Type Name Description
FSlateIcon IconBrush The mode icon
FEditorModeID ID The mode ID
FText Name Name for the editor to display
int32 PriorityOrder The priority of this mode which will determine its default order and shift+X command assignment
FName ToolbarCustomizationName Name of the toolbar this mode uses and can be used by external systems to customize that mode toolbar
TAttribute< boo... Visibility  

Constructors

Type Name Description
  FEditorModeInfo () Default constructor
  FEditorModeInfo ( FEditorModeID InID, FText InName, FSlateIcon InIconBrush, TAttribute< bool > InVisibility, int32 InPriorityOrder ) Helper constructor

Functions

Type Name Description
bool IsVisible () Whether or not the mode should be visible in the mode toolbar

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library