Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/DynamicMeshBrushTool.h |
Include |
#include "DynamicMeshBrushTool.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient)
class UDynamicMeshBrushTool : public UBaseBrushTool
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.
Name | Description | ||
---|---|---|---|
|
InputMeshBoundsLocal |
||
|
OnBaseMeshComponentChangedHandle |
||
|
UPreviewMesh &#... |
PreviewMesh |
Name | Description | |
---|---|---|
|
UDynamicMeshBrushTool() |
Name | Description | ||
---|---|---|---|
|
OnBaseMeshComponentChanged() |
This function is called when the component inside the PreviewMesh is modified (eg via an undo/redo event) |
|
|
OnShutdown ( |
Subclasses can override these to customize behavior |
Name | Description | ||
---|---|---|---|
|
double |
EstimateMaximumTargetDimension() |
Subclasses should implement this to give an estimate of target dimension for brush size scaling |
Name | Description | ||
---|---|---|---|
|
HitTest ( |
Name | Description | ||
---|---|---|---|
|
Setup() |
Register InputBehaviors, etc |
|
|
Shutdown ( |
Called by ToolManager to shut down the Tool |