Files
UnrealEngineUWP/Engine/Source/Editor/GeometryMode/Classes/GeomModifier_Extrude.h
2014-03-14 14:13:41 -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);
};