Files
UnrealEngineUWP/Engine/Source/Editor/GeometryMode/Classes/GeomModifier_Extrude.h
Jaroslaw Palczynski ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00

44 lines
872 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/**
* Extrudes selected objects.
*/
#pragma once
#include "GeomModifier_Extrude.generated.h"
UCLASS()
class UGeomModifier_Extrude : public UGeomModifier_Edit
{
GENERATED_UCLASS_BODY()
UPROPERTY(EditAnywhere, Category=Settings)
int32 Length;
UPROPERTY(EditAnywhere, Category=Settings)
int32 Segments;
UPROPERTY()
int32 SaveCoordSystem;
// Begin UGeomModifier Interface
virtual bool Supports() override;
virtual void Initialize() override;
virtual void WasActivated() override;
virtual void WasDeactivated() override;
/* Check the coordinates mode is local and warn the user with a suppressible dialog if it is not */
void CheckCoordinatesMode();
protected:
virtual bool OnApply() override;
// End UGeomModifier Interface
private:
void Apply(int32 InLength, int32 InSegments);
};