Navigation
API > API/Plugins > API/Plugins/GeometryMode
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGeomModifier
- UGeomModifier_Edit
- UGeomModifier_Clip
- UGeomModifier_Create
- UGeomModifier_Delete
- UGeomModifier_Extrude
- UGeomModifier_Flip
- UGeomModifier_Lathe
- UGeomModifier_Pen
- UGeomModifier_Split
- UGeomModifier_Triangulate
- UGeomModifier_Optimize
- UGeomModifier_Turn
- UGeomModifier_Weld
References
| Module | GeometryMode |
| Header | /Engine/Plugins/Editor/GeometryMode/Source/GeometryMode/Classes/GeomModifier.h |
| Include | #include "GeomModifier.h" |
Syntax
UCLASS&40;Abstract, HideCategories&61;&40;Object, GeomModifier&41;&41;
class UGeomModifier : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bAppearsInToolbar | ||
| uint32: 1 | bInitialized | True if the modifier has been initialized. | |
| uint32: 1 | bPendingPivotOffsetUpdate | If true, the pivot offset should be updated when the modification ends | |
| uint32: 1 | bPushButton | If true, this modifier should be displayed as a push button instead of a radio button | |
| FText | Description | A human readable name for this modifier (appears on buttons, menus, etc) | |
| FName | ToolbarIconName | Icon name for showing this modifier in a toolbar | |
| FText | Tooltip | The tooltip to be displayed for this modifier |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UGeomModifier
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Apply () |
Applies the modifier. Does nothing if the editor is not in geometry mode. | |
| void | Stores the current state of the brush so that upon faulty operations, the brush may be restored to its previous state | ||
| bool | |||
| void | DrawHUD
(
FEditorViewportClient* ViewportClient, |
||
| bool | EndModify () |
Ends the modification of geometry data. | |
| void | EndTrans () |
Handles the stopping of transactions against the selected ABrushes. | |
| void | Interface for displaying error messages. | ||
| const FText & | |||
| const FText & | |||
| void | Initialize () |
Gives the individual modifiers a chance to do something the first time they are activated. | |
| bool | InputDelta
(
FEditorViewportClient* InViewportClient, |
||
| 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. | |
| void | Restores the brush to its cached state | ||
| bool | StartModify () |
Starts the modification of geometry data. | |
| void | StartTrans () |
Handles the starting of transactions against the selected ABrushes. | |
| void | Store the current geom selections for all geom objects | ||
| void | StoreCurrentGeomSelections
(
TArray< struct FGeomSelection >& SelectionArray, |
Store the current geom selections (Edge, Vert and Poly) | |
| bool | |||
| void | Tick
(
FEditorViewportClient* ViewportClient, |
||
| void | Updates the pivot offset of the selected brushes based on the current vertex positions | ||
| void | WasActivated () |
Gives the modifier a chance to initialize it's internal state when activated. | |
| void | Gives the modifier a chance to clean up when the user is switching away from it. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Supports () |
Supports has been deprected. Use SupportsCurrentSelection instead |