Navigation
API > API/Editor > API/Editor/UnrealEd
This class is to aid transitioning from native FEdModes to UEdModes, in the case that the FEdMode used property widgets and/or transform widgets To use this class:
Subclass FLegacyEdModeWidgetHelper, and override the methods needed for your native FEdMode implementation
Transition your native FEdMode to a UObject, by inheriting from this class
Override CreateWidgetHelper function to return a SharedRef to the class you created in step 1.
| Name | UBaseLegacyWidgetEdMode |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Tools/LegacyEdModeWidgetHelpers.h |
| Include Path | #include "Tools/LegacyEdModeWidgetHelpers.h" |
Syntax
UCLASS (Abstract, MinimalAPI)
class UBaseLegacyWidgetEdMode :
public UEdMode ,
public ILegacyEdModeWidgetInterface ,
public ILegacyEdModeViewportInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdMode → UBaseLegacyWidgetEdMode