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