Navigation
API > API/Plugins > API/Plugins/GeometryMode
Allows for BSP geometry to be edited directly
| Name | FEdModeGeometry |
| Type | class |
| Header File | /Engine/Plugins/Editor/GeometryMode/Source/GeometryMode/Public/GeometryEdMode.h |
| Include Path | #include "GeometryEdMode.h" |
Syntax
class FEdModeGeometry : public FEdMode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FEdMode → FEdModeGeometry
- FGCObject → FEdMode → FEdModeGeometry
- FEditorCommonDrawHelper → FEdMode → FEdModeGeometry
- FLegacyEdModeWidgetHelper → FEdMode → FEdModeGeometry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEdModeGeometry() |
GeometryEdMode.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FEdModeGeometry() |
GeometryEdMode.h |
Structs
| Name | Remarks |
|---|---|
| HGeomMidPoints | Struct for cacheing of selected objects components midpoints for reselection when rebuilding the BSP |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TGeomObjectConstIterator | TArray< FGeomObjectPtr >::TConstIterator | GeometryEdMode.h | |
| TGeomObjectIterator | TArray< FGeomObjectPtr >::TIterator | GeometryEdMode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ActorSelectionChangeNotify() |
GeometryEdMode.h | ||
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
GeometryEdMode.h | ||
bool CacheSelectedData
(
TArray< HGeomMidPoints >& raGeomData, |
Cache all the selected geometry on the object, and add to the array if any is found | GeometryEdMode.h | |
virtual bool ComputeBoundingBoxForViewportFocus
(
AActor* Actor, |
GeometryEdMode.h | ||
virtual int32 CountObjectsSelected() |
Returns the number of objects that are selected. | GeometryEdMode.h | |
virtual int32 CountSelectedEdges() |
Returns the number of edges that are selected. | GeometryEdMode.h | |
virtual int32 CountSelectedPolygons() |
Returns the number of polygons that are selected. | GeometryEdMode.h | |
virtual int32 CountSelectedVertices() |
Returns the number of vertices that are selected. | GeometryEdMode.h | |
virtual void Enter() |
GeometryEdMode.h | ||
virtual bool ExecDelete() |
GeometryEdMode.h | ||
virtual void Exit() |
GeometryEdMode.h | ||
virtual bool FinalizeSourceData() |
GeometryEdMode.h | ||
bool FindFromCache
(
TArray< HGeomMidPoints >& raGeomData, |
Attempt to find all the new geometry using the cached data, and cache those new ones out | GeometryEdMode.h | |
virtual void GeometrySelectNone
(
bool bStoreSelection, |
Deselects all edges, polygons, and vertices for all selected objects. | GeometryEdMode.h | |
TGeomObjectConstIterator GeomObjectConstItor() |
GeometryEdMode.h | ||
TGeomObjectIterator GeomObjectItor() |
GeometryEdMode.h | ||
virtual bool GetCustomDrawingCoordinateSystem
(
FMatrix& InMatrix, |
GeometryEdMode.h | ||
virtual bool GetCustomInputCoordinateSystem
(
FMatrix& InMatrix, |
GeometryEdMode.h | ||
virtual void GetFromSource() |
Compiles geometry mode information from the selected brushes. | GeometryEdMode.h | |
FGeomObjectPtr GetGeomObject
(
int32 Index |
GeometryEdMode.h | ||
const FGeomObjectPtr GetGeomObject
(
int32 Index |
GeometryEdMode.h | ||
virtual void GetSelectedEdges
(
TArray< FGeomEdge* >& InEdges |
Returns the edges that are selected. | GeometryEdMode.h | |
virtual void GetSelectedPolygons
(
TArray< FGeomPoly* >& InPolygons |
Returns the polygons that are selected. | GeometryEdMode.h | |
virtual void GetSelectedVertices
(
TArray< FGeomVertex* >& InVerts |
Fills an array with all selected vertices.Fills an array with all selected vertices. | GeometryEdMode.h | |
virtual int32 GetSelectionState () |
Utility function that allow you to poll and see if certain sub elements are currently selected. | GeometryEdMode.h | |
virtual FVector GetWidgetLocation() |
GeometryEdMode.h | ||
virtual bool HaveEdgesSelected() |
Returns true if the user has edges selected. | GeometryEdMode.h | |
virtual bool HavePolygonsSelected() |
Returns true if the user has polygons selected. | GeometryEdMode.h | |
virtual bool HaveVerticesSelected() |
Returns true if the user has vertices selected. | GeometryEdMode.h | |
virtual bool IsCompatibleWith
(
FEditorModeID OtherModeID |
GeometryEdMode.h | ||
virtual void MapChangeNotify() |
GeometryEdMode.h | ||
virtual void PostUndo() |
GeometryEdMode.h | ||
virtual void Render
(
const FSceneView* View, |
GeometryEdMode.h | ||
void RenderEdge
(
const FSceneView* View, |
GeometryEdMode.h | ||
void RenderPoly
(
const FSceneView* View, |
GeometryEdMode.h | ||
void RenderVertex
(
const FSceneView* View, |
GeometryEdMode.h | ||
bool SelectCachedData
(
TArray< FGeomBase* >& raSelectedGeom |
Select all the verts/edges/polys that were foundReturn true if successful | GeometryEdMode.h | |
virtual void SelectionChanged() |
GeometryEdMode.h | ||
virtual void SendToSource() |
Changes the source brushes to match the current geometry data. | GeometryEdMode.h | |
virtual bool ShouldDrawBrushWireframe
(
AActor* InActor |
GeometryEdMode.h | ||
virtual bool ShowModeWidgets() |
GeometryEdMode.h | ||
void ShowModifierWindow
(
bool bShouldShow |
GeometryEdMode.h | ||
virtual void UpdateInternalData() |
GeometryEdMode.h | ||
virtual bool UsesToolkits() |
GeometryEdMode.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FEdModeGeometry > Create() |
GeometryEdMode.h |