Navigation
API > API/Plugins > API/Plugins/GeometryMode
Inheritance Hierarchy
References
| Module | GeometryMode |
| Header | /Engine/Plugins/Editor/GeometryMode/Source/GeometryMode/Public/EditorGeometry.h |
| Include | #include "EditorGeometry.h" |
Syntax
class FGeomObject :
public FGeomBase,
public FGCObject
Remarks
A group of polygons forming an individual object.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< ABrush > | ActualBrush | Index to the ABrush actor this object represents. | |
| bool | bSelectionOrderDirty | If 1, the selection order array needs to be compiled before being accessed. | |
| TArray< FGeomEdge > | EdgePool | ||
| TArray< FGeomPoly > | PolyPool | ||
| TArray< FGeomBase * > | SelectionOrder | Used for tracking the order of selections within this object. | |
| TArray< FGeomVertex > | VertexPool | Main lists. All lower data types refer to the contents of these pools through indices. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGeomObject () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddEdgeToPool
(
FGeomPoly* InPoly, |
||
| int32 | AddVertexToPool
(
int32 InObjectIndex, |
||
| void | ClearData () |
Erases all current data for this object. | |
| void | |||
| void | CompileUniqueEdgeArray
(
TArray< FGeomEdge >* InEdges |
Compiles a list of unique edges. | |
| void | ComputeData () |
Tells the object to recompute all of it's internal data. | |
| void | Dirties the selection order. | ||
| bool | Finalizes the source geometry by checking for invalid polygons, updating components, etc. | ||
| void | ForceLastSelectionIndex
(
int32 InLastSelectionIndex |
Allows manual setting of the last selection index. | |
| const ABrush * | |||
| ABrush * | |||
| void | Removes all geometry data and reconstructs it from the source brushes. | ||
| int32 | |||
| int32 | |||
| void | SelectNone () |
||
| void | SendToSource () |
Sends the vertex data that we have back to the source vertices. | |
| int32 | SetPivotFromSelectionArray
(
TArray< struct FGeomSelection >& SelectionArray |
Set the pivot position based on the 'highest' selected object (vertex/edge/poly) in the given selection array | |
| void | UpdateFromSelectionArray
(
TArray< struct FGeomSelection >& SelectionArray |
Update the selection state based on the passed in array |
Overridden from FGeomBase
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetMidPoint () |
Returns a location that represents the middle of the object | |
| FVector | Returns a valid position for the widget to be drawn at for this object |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. | |
| FString | Overload this method to report a name for your referencer |