Navigation
API > API/Plugins > API/Plugins/GeometryMode
| Name | UGeomModifier_Pen |
| Type | class |
| Header File | /Engine/Plugins/Editor/GeometryMode/Source/GeometryMode/Classes/GeomModifier_Pen.h |
| Include Path | #include "GeomModifier_Pen.h" |
Syntax
UCLASS ()
class UGeomModifier_Pen : public UGeomModifier_Edit
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGeomModifier → UGeomModifier_Edit → UGeomModifier_Pen
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGeomModifier_Pen
(
const FObjectInitializer& ObjectInitializer |
GeomModifier_Pen.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutoExtrude | uint32 | If true, the shape will be automatically extruded into a brush upon completion. | GeomModifier_Pen.h |
|
| bCreateBrushShape | uint32 | If true, the resulting shape will be turned into an ABrushShape actor. | GeomModifier_Pen.h |
|
| bCreateConvexPolygons | uint32 | If true, the tool will try and optimize the resulting triangles into convex polygons before creating the brush. | GeomModifier_Pen.h |
|
| ExtrudeDepth | int32 | How far to extrude the newly created brush if bAutoExtrude is set to true. | GeomModifier_Pen.h |
|
| MouseWorldSpacePos | FVector | The mouse position, in world space, where the user currently is hovering (snapped to grid if that setting is enabled). | GeomModifier_Pen.h |
|
| ShapeVertices | TArray< FVector > | The vertices that the user has dropped down in the world so far. | GeomModifier_Pen.h | |
| UsingViewportClient | FEditorViewportClient * | GeomModifier_Pen.h |
Functions
Public
Overridden from UGeomModifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DrawHUD
(
FEditorViewportClient* ViewportClient, |
GeomModifier_Pen.h | ||
virtual bool InputKey
(
FEditorViewportClient* ViewportClient, |
GeomModifier_Pen.h | ||
virtual void Render
(
const FSceneView* View, |
Drawing functions to allow modifiers to have better control over the screen. | GeomModifier_Pen.h | |
virtual bool SupportsCurrentSelection() |
Pen can work always | GeomModifier_Pen.h | |
virtual void Tick
(
FEditorViewportClient* ViewportClient, |
GeomModifier_Pen.h | ||
virtual void WasActivated() |
Gives the modifier a chance to initialize it's internal state when activated. | GeomModifier_Pen.h |
Protected
Overridden from UGeomModifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool OnApply() |
Implements the modifier application. | GeomModifier_Pen.h |