Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Selection
Inheritance Hierarchy
- IGeometrySelectionTransformer
- FBasicDynamicMeshSelectionTransformer
- FDynamicMeshPolygroupTransformer
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/DynamicMeshSelector.h |
| Include | #include "Selection/DynamicMeshSelector.h" |
Syntax
class FBasicDynamicMeshSelectionTransformer : public IGeometrySelectionTransformer
Remarks
BasicDynamicMeshSelectionTransformer is a basic Transformer implementation that can be used with a FBaseDynamicMeshSelector. This Transformer moves the selected vertices and nothing else (ie no polygroup-based soft deformation)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< UE::Geometry::FIndex2i > | ActiveROIEdges | ||
| TArray< UE::Geometry::FIndex2i > | ActiveSelectionEdges | Used for preview rendering | |
| TArray< int32 > | ActiveSelectionVertices | ||
| TPimplPtr< FMeshVertexChangeBuilder > | ActiveVertexChange | ||
| bool | bEnableSelectionTransformDrawing | Enable line drawing of selection during transform, this is necessary in some contexts where live mesh update is too slow | |
| TArray< FVector3d > | InitialPositions | ||
| TArray< int32 > | MeshVertices | ||
| TFunction< void(IToolsContextTransactionsAPI *TransactionsAPI)> | OnEndTransformFunc | ||
| TArray< int32 > | OverlayNormalsArray | ||
| TSet< int32 > | OverlayNormalsSet | ||
| FBaseDynamicMeshSelector * | Selector | ||
| TSet< int32 > | TriangleROI | ||
| TArray< FVector3d > | UpdatedPositions |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
FBaseDynamicMeshSelector* Selector |
||
| void | UpdatePendingVertexChange
(
bool bFinal |
||
| void | UpdateTransform
(
TFunctionRef< FVector3d(int32VertexID, const FVector3d&InitialPosition, const FTransform&WorldTran... |
Overridden from IGeometrySelectionTransformer
| Type | Name | Description | |
|---|---|---|---|
| void | BeginTransform
(
const UE::Geometry::FGeometrySelection& Selection |
Start a transform (eg called at beginning of a user interaction with a 3D gizmo). | |
| void | EndTransform
(
IToolsContextTransactionsAPI* TransactionsAPI |
Finish a transform (eg called on mouse-up during 3D gizmo interaction). | |
| IGeometrySelector * | GetSelector () |
||
| void | PreviewRender
(
IToolsContextRenderAPI* RenderAPI |
Optional function called per-frame to visualize the active Transformation |