You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
44 lines
872 B
C++
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);
|
|
};
|
|
|
|
|
|
|