Navigation
API > API/Plugins > API/Plugins/ModelingComponents
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)
| Name | FBasicDynamicMeshSelectionTransformer |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/DynamicMeshSelector.h |
| Include Path | #include "Selection/DynamicMeshSelector.h" |
Syntax
class FBasicDynamicMeshSelectionTransformer : public IGeometrySelectionTransformer
Implements Interfaces
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableSelectionTransformDrawing | bool | Enable line drawing of selection during transform, this is necessary in some contexts where live mesh update is too slow | Selection/DynamicMeshSelector.h | |
| OnEndTransformFunc | TFunction< void(IToolsContextTransactionsAPI *TransactionsAPI)> | Selection/DynamicMeshSelector.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize
(
FBaseDynamicMeshSelector* Selector |
Selection/DynamicMeshSelector.h | ||
void UpdatePendingVertexChange
(
bool bFinal |
Selection/DynamicMeshSelector.h | ||
virtual void UpdateTransform
(
TFunctionRef< FVector3d(int32 VertexID, const FVector3d&InitialPosition, const FTransform&WorldTra... |
Selection/DynamicMeshSelector.h |
Overridden from IGeometrySelectionTransformer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginTransform
(
const UE::Geometry::FGeometrySelection& Selection |
Start a transform (eg called at beginning of a user interaction with a 3D gizmo). | Selection/DynamicMeshSelector.h | |
virtual void EndTransform
(
IToolsContextTransactionsAPI* TransactionsAPI |
Finish a transform (eg called on mouse-up during 3D gizmo interaction). | Selection/DynamicMeshSelector.h | |
virtual IGeometrySelector * GetSelector() |
Selection/DynamicMeshSelector.h | ||
virtual void PreviewRender
(
IToolsContextRenderAPI* RenderAPI |
Optional function called per-frame to visualize the active Transformation | Selection/DynamicMeshSelector.h |