Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Tools/UEdMode.h |
Include |
#include "Tools/UEdMode.h" |
class UEdMode : public UObject
Base class for all editor modes.
Name | Description | ||
---|---|---|---|
|
bHaveSavedEditorState |
||
|
bSavedAntiAliasingState |
||
|
Info |
Information pertaining to this mode. Should be assigned in the constructor. |
|
|
Owner |
Pointer back to the mode tools that we are registered with |
|
|
TSoftClassPtr< ... |
SettingsClass |
|
|
TObjectPtr< UOb... |
SettingsObject |
|
|
TSharedPtr< FUI... |
ToolCommandList |
Command list lives here so that the key bindings on the commands can be processed in the viewport. |
|
TSharedPtr< FMo... |
Toolkit |
Editor Mode Toolkit that is associated with this toolkit mode |
Name | Description | |
---|---|---|
|
UEdMode() |
Name | Description | ||
---|---|---|---|
|
ActivateDefaultTool() |
||
|
ActorMoveNotify() |
||
|
ActorPropChangeNotify() |
||
|
ActorsDuplicatedNotify |
||
|
ActorSelectionChangeNotify() |
||
|
FEdMode *... |
AsLegacyMode() |
For use by the EditorModeTools class to get the legacy FEdMode type from a legacy FEdMode wrapper You should not need to override this function in your UEdMode implementation. |
|
BindCommands() |
||
|
CanAutoSave() |
Check to see if this UEdMode wants to disallow AutoSave |
|
|
ComputeBoundingBoxForViewportFocus ( |
Allows an editor mode to override the bounding box used to focus the viewport on a selection |
|
|
CreateToolkit() |
||
|
Enter() |
||
|
Exit() |
||
|
EEditAction:... |
GetActionEditCopy() |
|
|
EEditAction:... |
GetActionEditCut() |
|
|
EEditAction:... |
GetActionEditDelete() |
|
|
EEditAction:... |
GetActionEditDuplicate() |
Added for handling EDIT Command... |
|
EEditAction:... |
GetActionEditPaste() |
|
|
GetCursor ( |
Get a cursor to override the default with, if any. |
|
|
EToolsContex... |
GetDefaultToolScope() |
Default Scope for InteractiveToolsContext API functions, eg RegisterTool(), GetToolManager(), GetInteractiveToolsContext(). |
|
AActor * |
GetFirstSelectedActorInstance() |
Returns the first selected Actor, or NULL if there is no selection. |
|
FEditorModeI... |
GetID() |
Returns the editor mode identifier. |
|
UEditorInter... |
GetInteractiveToolsContext ( |
|
|
GetModeCommands() |
||
|
const FEdito... |
GetModeInfo() |
Returns the editor mode information. |
|
FEditorModeT... |
GetModeManager() |
Returns the owning mode manager for this mode |
|
GetOverrideCursorVisibility |
Get override cursor visibility settings |
|
|
GetPivotForOrbit ( |
Lets each mode/tool specify a pivot point around which the camera should orbit |
|
|
GetToolkit() |
Gets the toolkit created by this mode |
|
|
UInteractive... |
GetToolManager ( |
|
|
UWorld * |
GetWorld() |
Returns the world this toolkit is editing |
|
Initialize() |
||
|
IsCompatibleWith ( |
||
|
IsOperationSupportedForCurrentAsset ( |
Check to see if this UEdMode wants to disallow operation on current asset |
|
|
IsSelectionAllowed |
Check to see if an actor can be selected in this mode - no side effects |
|
|
IsSelectionDisallowed |
Check to see if an actor selection is exclusively dissallowed by a mode no side effects |
|
|
IsSnapRotationEnabled() |
If Rotation Snap should be enabled for this mode |
|
|
MapChangeNotify() |
||
|
ModeTick ( |
||
|
OnModeActivated ( |
||
|
OnRequestClose() |
||
|
OnToolEnded ( |
||
|
OnToolStarted ( |
||
|
PostUndo() |
||
|
ProcessEditCopy() |
||
|
ProcessEditCut() |
||
|
ProcessEditDelete() |
||
|
ProcessEditDuplicate() |
||
|
ProcessEditPaste() |
||
|
RegisterTool ( |
||
|
Select |
Handling SelectActor |
|
|
SelectionChanged() |
||
|
SelectNone() |
||
|
ShouldDrawBrushWireframe ( |
||
|
ShouldToolStartBeAllowed ( |
Subclasses can override this to add additional checks on whether a tool should be allowed to start. |
|
|
SnapRotatorToGridOverride ( |
If this mode should override the snap rotation |
|
|
UpdateInternalData() |
||
|
UsesToolkits() |
True if this mode uses a toolkit mode (eventually they all should) |