Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- USingleSelectionTool
- USingleSelectionMeshEditingTool
- UMeshSpaceDeformerTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/MeshSpaceDeformerTool.h |
| Include | #include "MeshSpaceDeformerTool.h" |
Syntax
UCLASS&40;&41;
class UMeshSpaceDeformerTool : public USingleSelectionMeshEditingTool
Remarks
Applies non-linear deformations to a mesh
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UGizmoLocalFloatParameterSource > | DownIntervalSource | ||
| TObjectPtr< UDragAlignmentMechanic > | DragAlignmentMechanic | ||
| TObjectPtr< UGizmoLocalFloatParameterSource > | ForwardIntervalSource | ||
| UE::Geometry::FFrame3d | GizmoFrame | ||
| TObjectPtr< UIntervalGizmo > | IntervalGizmo | ||
| FVector3d | MeshCenter | ||
| double | ModifierGizmoLength | The length of the third interval gizmo (which sets the intensity of the deformation) when the modifier is set to some reasonable maximum. | |
| TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > | OriginalDynamicMesh | ||
| TObjectPtr< UPreviewMesh > | OriginalMeshPreview | ||
| EMeshSpaceDeformerToolAction | PendingAction | Button click support. | |
| TObjectPtr< UMeshOpPreviewWithBackgroundCompute > | Preview | ||
| TPimplPtr< FSelectClickedAction > | SetPointInWorldConnector | ||
| TObjectPtr< UMeshSpaceDeformerToolProperties > | Settings | ||
| TObjectPtr< UGizmoTransformChangeStateTarget > | StateTarget | ||
| TObjectPtr< UMeshSpaceDeformerToolActionPropertySet > | ToolActions | ||
| TObjectPtr< UCombinedTransformGizmo > | TransformGizmo | ||
| TObjectPtr< UTransformProxy > | TransformProxy | ||
| TObjectPtr< UGizmoLocalFloatParameterSource > | UpIntervalSource | Interval Parameter sources that reflect UI settings. | |
| friend | USpaceDeformerOperatorFactory | ||
| TArray< FVector3d > | VisualizationPoints | ||
| FToolDataVisualizer | VisualizationRenderer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyAction
(
EMeshSpaceDeformerToolAction Action |
Apply clicked action. | |
| void | ApplyModifierGizmoValue
(
double Value |
||
| double | These two functions translate to and from the modifier gizmo length to the relevant operator parameters. | ||
| void | RequestAction
(
EMeshSpaceDeformerToolAction ActionType |
||
| void | SetGizmoFrameFromWorldPos
(
const FVector& Position, |
||
| void | TransformProxyChanged
(
UTransformProxy* Proxy, |
||
| void | UpdateOpParameters
(
UE::Geometry::FMeshSpaceDeformerOp& MeshSpaceDeformerOp |
Sync the parameters owned by the MeshSpaceDeformerOp | |
| void |
Overridden from USingleSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnPropertyModified
(
UObject* PropertySet, |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes | |
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |