You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Removed type-specific base classes for mesh editor commands - We now have a different base class for 'instant' commands vs 'edit' commands instead - Removed 'F1' shortcut for move mode. Will be dealing with that soon. #rb none [CL 3428090 by Mike Fricker in Dev-Geometry branch]
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "MeshEditorCommands.h"
|
|
#include "ExtendVertex.generated.h"
|
|
|
|
|
|
/** Extend a vertex by making a copy of it, creating new polygons to join the geometry together */
|
|
UCLASS()
|
|
class UExtendVertexCommand : public UMeshEditorEditCommand
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
protected:
|
|
|
|
UExtendVertexCommand()
|
|
{
|
|
UndoText = NSLOCTEXT( "MeshEditor", "UndoExtendVertex", "Extend Vertex" );
|
|
bNeedsHoverLocation = false;
|
|
bNeedsDraggingInitiated = true;
|
|
}
|
|
|
|
// Overrides
|
|
virtual EEditableMeshElementType GetElementType() const override
|
|
{
|
|
return EEditableMeshElementType::Vertex;
|
|
}
|
|
virtual void RegisterUICommand( class FBindingContext* BindingContext ) override;
|
|
virtual void ApplyDuringDrag( IMeshEditorModeEditingContract& MeshEditorMode, class UViewportInteractor* ViewportInteractor ) override;
|
|
virtual void AddToVRRadialMenuActionsMenu( class IMeshEditorModeUIContract& MeshEditorMode, class FMenuBuilder& MenuBuilder, TSharedPtr<FUICommandList> CommandList, const FName TEMPHACK_StyleSetName, class UVREditorMode* VRMode ) override;
|
|
|
|
protected:
|
|
|
|
};
|