UGeomModifier_Pen

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GeometryMode

Header

/Engine/Plugins/Editor/GeometryMode/Source/GeometryMode/Classes/GeomModifier_Pen.h

Include

#include "GeomModifier_Pen.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UGeomModifier_Pen : public UGeomModifier_Edit

Variables

Name Description

Public variable UProperty Category, EditAnywhere

uint32: 1

 

bAutoExtrude

If true, the shape will be automatically extruded into a brush upon completion.

Public variable UProperty Category, EditAnywhere

uint32: 1

 

bCreateBrushShape

If true, the resulting shape will be turned into an ABrushShape actor.

Public variable UProperty Category, EditAnywhere

uint32: 1

 

bCreateConvexPolygons

If true, the tool will try and optimize the resulting triangles into convex polygons before creating the brush.

Public variable UProperty Category, EditAnywhere

int32

 

ExtrudeDepth

How far to extrude the newly created brush if bAutoExtrude is set to true.

Public variable UProperty Transient

FVector

 

MouseWorldSpacePos

The mouse position, in world space, where the user currently is hovering (snapped to grid if that setting is enabled).

Public variable UProperty

TArray< FVector...

 

ShapeVertices

The vertices that the user has dropped down in the world so far.

Public variable

FEditorViewport...

 

UsingViewportClient

Constructors

Name Description

Public function

UGeomModifier_Pen

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UGeomModifier

Name Description

Public function Virtual

void

 

DrawHUD

(
    FEditorViewportClient* Viewpor...,
    FViewport* Viewport,
    const FSceneView* View,
    FCanvas* Canvas
)

Public function Virtual

bool

 

InputKey

(
    FEditorViewportClient* Viewpor...,
    FViewport* Viewport,
    FKey Key,
    EInputEvent Event
)

Protected function Virtual

bool

 

OnApply()

Implements the modifier application.

Public function Virtual

void

 

Render

(
    const FSceneView* View,
    FViewport* Viewport,
    FPrimitiveDrawInterface* PDI
)

Drawing functions to allow modifiers to have better control over the screen.

Public function Virtual

bool

 

SupportsCurrentSelection()

Pen can work always

Public function Virtual

void

 

Tick

(
    FEditorViewportClient* Viewpor...,
    float DeltaTime
)

Public function Virtual

void

 

WasActivated()

Gives the modifier a chance to initialize it's internal state when activated.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss