USampleToolsEditorMode

This class provides an example of how to extend a [UEdMode](API\Editor\UnrealEd\Tools\UEdMode) to add some simple tools using the InteractiveTools framework.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SampleToolsEditorMode

Header

/Engine/Plugins/Experimental/SampleToolsEditorMode/Source/Public/SampleToolsEditorMode.h

Include

#include "SampleToolsEditorMode.h"

Syntax

UCLASS()
class USampleToolsEditorMode : public UEdMode

Remarks

This class provides an example of how to extend a UEdMode to add some simple tools using the InteractiveTools framework. The various UEdMode input event handlers (see UEdMode.h) forward events to a UEdModeInteractiveToolsContext instance, which has all the logic for interacting with the InputRouter, ToolManager, etc. The functions provided here are the minimum to get started inserting some custom behavior. Take a look at the UEdMode markup for more extensibility options.

Constructors

Name Description

Public function

USampleToolsEditorMode()

Destructors

Name Description

Public function Virtual

~USampleToolsEditorMode()

Overridden from UEdMode

Constants

Name

Description

EM_SampleToolsEditorModeId