FGeomObject

A group of polygons forming an individual object.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FGeomBase

FGCObject

FGeomObject

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

Name Description

Public variable

ABrush *

 

ActualBrush

Index to the ABrush actor this object represents.

Public variable

bool

 

bSelectionOrderDirty

If 1, the selection order array needs to be compiled before being accessed.

do not serialize

Public variable

TArray< FGeomEd...

 

EdgePool

Public variable

TArray< FGeomPo...

 

PolyPool

Public variable

TArray< FGeomBa...

 

SelectionOrder

Used for tracking the order of selections within this object.

Public variable

TArray< FGeomVe...

 

VertexPool

Master lists. All lower data types refer to the contents of these pools through indices.

Constructors

Name Description

Public function

FGeomObject()

Functions

Name Description

Public function

int32

 

AddEdgeToPool

(
    FGeomPoly* InPoly,
    int32 InParentPolyIndex,
    int32 InVectorIdxA,
    int32 InVectorIdxB
)

Public function

int32

 

AddVertexToPool

(
    int32 InObjectIndex,
    int32 InParentPolyIndex,
    int32 InPolyIndex,
    int32 InVertexIndex
)

Public function

void

 

ClearData()

Erases all current data for this object.

Public function

void

 

CompileSelectionOrder()

Public function

void

 

CompileUniqueEdgeArray

(
    TArray< FGeomEdge >* InEdges
)

Compiles a list of unique edges.

Public function

void

 

ComputeData()

Tells the object to recompute all of it's internal data.

Public function

void

 

DirtySelectionOrder()

Dirties the selection order.

Public function

bool

 

FinalizeSourceData()

Finalizes the source geometry by checking for invalid polygons, updating components, etc.

Public function

void

 

ForceLastSelectionIndex

(
    int32 InLastSelectionIndex
)

Allows manual setting of the last selection index.

Public function Const

const ABrush...

 

GetActualBrush()

Public function

ABrush *

 

GetActualBrush()

Public function Virtual

void

 

GetFromSource()

Removes all geometry data and reconstructs it from the source brushes.

Public function

int32

 

GetNewSelectionIndex()

Public function

int32

 

GetObjectIndex()

Public function

void

 

SelectNone()

Public function Virtual

void

 

SendToSource()

Sends the vertex data that we have back to the source vertices.

Public function

int32

 

SetPivotFromSelectionArray

(
    TArray< struct FGeomSelection >& S...
)

Set the pivot position based on the 'highest' selected object (vertex/edge/poly) in the given selection array

Public function

void

 

UpdateFromSelectionArray

(
    TArray< struct FGeomSelection >& S...
)

Update the selection state based on the passed in array

Overridden from FGeomBase

Name Description

Public function Virtual Const

FVector

 

GetMidPoint()

Returns a location that represents the middle of the object

Public function Virtual

FVector

 

GetWidgetLocation()

Returns a valid position for the widget to be drawn at for this object

Overridden from FGCObject

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Pure virtual that must be overloaded by the inheriting class.

Public function Virtual Const

FString

 

GetReferencerName()

Use this method to report a name for your referencer.