You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Second batch of remaining Engine copyright updates. #rnx #rb none #jira none [CL 10871196 by Ryan Durand in Main branch]
32 lines
866 B
C++
32 lines
866 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "EngineDefines.h"
|
|
#include "MeshEditorCommands.h"
|
|
#include "EditableMesh.h"
|
|
#include "GeometryCollectionCommandCommon.h"
|
|
#include "MoveUpOneLevelCommand.generated.h"
|
|
|
|
|
|
/** Move node up one level */
|
|
UCLASS()
|
|
class UMoveUpOneLevelCommand : public UMeshEditorInstantCommand, public FGeometryCollectionCommandCommon
|
|
{
|
|
public:
|
|
GENERATED_BODY()
|
|
|
|
protected:
|
|
|
|
// Overrides
|
|
virtual EEditableMeshElementType GetElementType() const override
|
|
{
|
|
return EEditableMeshElementType::Fracture;
|
|
}
|
|
virtual void RegisterUICommand(class FBindingContext* BindingContext) override;
|
|
virtual void Execute(class IMeshEditorModeEditingContract& MeshEditorMode) override;
|
|
|
|
private:
|
|
void MoveUpOneLevel(IMeshEditorModeEditingContract& MeshEditorMode, TArray<AActor*>& SelectedActors);
|
|
};
|