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