Navigation
API > API/Plugins > API/Plugins/GeometryMode
Inheritance Hierarchy
- TSharedFromThis
- FGCObject
- FEditorCommonDrawHelper
- FLegacyEdModeWidgetHelper
- FEdMode
- FEdModeGeometry
References
Module | GeometryMode |
Header | /Engine/Plugins/Editor/GeometryMode/Source/GeometryMode/Public/GeometryEdMode.h |
Include | #include "GeometryEdMode.h" |
Syntax
class FEdModeGeometry : public FEdMode
Remarks
Allows for BSP geometry to be edited directly
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FGeomObjectPtr > | GeomObjects | Custom data compiled when this mode is entered, based on currently selected brushes. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | CacheSelectedData
(
TArray< HGeomMidPoints >& raGeomData, |
Cache all the selected geometry on the object, and add to the array if any is found |
![]() ![]() |
int32 | Returns the number of objects that are selected. | |
![]() ![]() |
int32 | Returns the number of edges that are selected. | |
![]() ![]() |
int32 | Returns the number of polygons that are selected. | |
![]() ![]() |
int32 | Returns the number of vertices that are selected. | |
![]() ![]() |
TSharedRef< FEdModeGeometry > | Create () |
|
![]() ![]() |
bool | ExecDelete () |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | FindFromCache
(
TArray< HGeomMidPoints >& raGeomData, |
Attempt to find all the new geometry using the cached data, and cache those new ones out |
![]() ![]() |
void | GeometrySelectNone
(
bool bStoreSelection, |
Deselects all edges, polygons, and vertices for all selected objects. |
![]() ![]() |
TGeomObjectConstIterator | ||
![]() |
TGeomObjectIterator | ||
![]() ![]() |
void | Compiles geometry mode information from the selected brushes. | |
![]() |
FGeomObjectPtr | GetGeomObject
(
int32 Index |
|
![]() ![]() |
const FGeomObjectPtr | GetGeomObject
(
int32 Index |
|
![]() ![]() ![]() |
void | GetSelectedEdges
(
TArray< FGeomEdge* >& InEdges |
Returns the edges that are selected. |
![]() ![]() ![]() |
void | GetSelectedPolygons
(
TArray< FGeomPoly* >& InPolygons |
Returns the polygons that are selected. |
![]() ![]() ![]() |
void | GetSelectedVertices
(
TArray< FGeomVertex* >& InVerts |
Fills an array with all selected vertices.Fills an array with all selected vertices. |
![]() ![]() |
int32 | Utility function that allow you to poll and see if certain sub elements are currently selected. | |
![]() ![]() |
bool | Returns true if the user has edges selected. | |
![]() ![]() |
bool | Returns true if the user has polygons selected. | |
![]() ![]() |
bool | Returns true if the user has vertices selected. | |
![]() |
void | RenderEdge
(
const FSceneView* View, |
|
![]() |
void | RenderPoly
(
const FSceneView* View, |
|
![]() |
void | RenderVertex
(
const FSceneView* View, |
|
![]() ![]() |
bool | SelectCachedData
(
TArray< FGeomBase* >& raSelectedGeom |
Select all the verts/edges/polys that were foundReturn true if successful |
![]() ![]() |
void | SendToSource () |
Changes the source brushes to match the current geometry data. |
![]() |
void | ShowModifierWindow
(
bool bShouldShow |
Overridden from FEdMode
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | ComputeBoundingBoxForViewportFocus
(
AActor* Actor, |
Allows an editor mode to override the bounding box used to focus the viewport on a selection |
![]() ![]() |
void | Enter () |
|
![]() ![]() |
void | Exit () |
|
![]() ![]() ![]() |
bool | IsCompatibleWith
(
FEditorModeID OtherModeID |
|
![]() ![]() |
void | ||
![]() ![]() |
void | PostUndo () |
|
![]() ![]() |
void | ||
![]() ![]() ![]() |
bool | ShouldDrawBrushWireframe
(
AActor* InActor |
|
![]() ![]() |
void | ||
![]() ![]() ![]() |
bool | UsesToolkits () |
True if this mode uses a toolkit mode (eventually they all should) |
Overridden from FGCObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. |
Overridden from FLegacyEdModeWidgetHelper
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ||
![]() ![]() |
bool | GetCustomDrawingCoordinateSystem
(
FMatrix& InMatrix, |
|
![]() ![]() |
bool | GetCustomInputCoordinateSystem
(
FMatrix& InMatrix, |
|
![]() ![]() ![]() |
FVector | ||
![]() ![]() |
void | Render
(
const FSceneView* View, |
Draws translucent polygons on brushes and volumes. |
![]() ![]() ![]() |
bool |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
HGeomMidPoints | Struct for cacheing of selected objects components midpoints for reselection when rebuilding the BSP |
Typedefs
Name | Description |
---|---|
TGeomObjectConstIterator | |
TGeomObjectIterator |