1
0
KF2-Dev-Scripts/UnrealEd/Classes/GeomModifier_Extrude.uc

50 lines
857 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
/**
* Extrudes selected objects.
*/
class GeomModifier_Extrude
extends GeomModifier_Edit
native;
var(Settings) int Length;
var(Settings) int Segments;
var int SaveCoordSystem;
cpptext
{
/**
* @return TRUE if this modifier will work on the currently selected sub objects.
*/
virtual UBOOL Supports();
/**
* Gives the individual modifiers a chance to do something the first time they are activated.
*/
virtual void Initialize();
virtual void WasActivated();
virtual void WasDeactivated();
protected:
/**
* Implements the modifier application.
*/
virtual UBOOL OnApply();
private:
void Apply(INT InLength, INT InSegments);
}
defaultproperties
{
Description="Extrude"
Length=16
Segments=1
}