Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- USingleSelectionTool
- UMeshSurfacePointTool
- UBaseBrushTool
- UDynamicMeshBrushTool
- UMeshAttributePaintTool
- UMeshSelectionTool
- UEditMeshMaterialsTool
- USeamSculptTool
- UShapeSprayTool
- USkinWeightsPaintTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/DynamicMeshBrushTool.h |
| Include | #include "DynamicMeshBrushTool.h" |
Syntax
UCLASS (Transient)
class UDynamicMeshBrushTool : public UBaseBrushTool
Remarks
UDynamicMeshBrushTool is a base class that specializes UBaseBrushTool for brushing on an FDynamicMesh3. The input FPrimitiveComponentTarget is hidden and a UPreviewMesh is created and shown in its place. This UPreviewMesh is used for hit-testing and dynamic rendering.
Variables
| Type | Name | Description | |
|---|---|---|---|
| UE::Geometry::FAxisAlignedBox3d | InputMeshBoundsLocal | ||
| UE::TransactionUtil::FLongTransactionTracker | LongTransactions | ||
| FDelegateHandle | OnBaseMeshComponentChangedHandle | ||
| TObjectPtr< UPreviewMesh > | PreviewMesh |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UPreviewMesh > | |||
| void | This function is called when the component inside the PreviewMesh is modified (eg via an undo/redo event) | ||
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Subclasses can override these to customize behavior |
Overridden from UBaseBrushTool
| Type | Name | Description | |
|---|---|---|---|
| double | Subclasses should implement this to give an estimate of target dimension for brush size scaling |
Overridden from UMeshSurfacePointTool
| Type | Name | Description | |
|---|---|---|---|
| bool | HitTest
(
const FRay& Ray, |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| void | Setup () |
UInteractiveTool. | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Called by ToolManager to shut down the Tool |