Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- USingleSelectionTool
- USingleSelectionMeshEditingTool
- UHoleFillTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/HoleFillTool.h |
| Include | #include "HoleFillTool.h" |
Syntax
UCLASS&40;&41;
class UHoleFillTool : public USingleSelectionMeshEditingTool
Remarks
Tool Inherit from IClickBehaviorTarget so we can click on boundary loops.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UHoleFillToolActions > | Actions | ||
| TArray< FSelectedBoundaryLoop > | ActiveBoundaryLoopSelection | ||
| bool | bHavePendingAction | ||
| TUniquePtr< UE::Geometry::FMeshBoundaryLoops > | BoundaryLoops | ||
| UE::Geometry::FDynamicMeshAABBTree3 | MeshSpatial | Used for hit querying. | |
| float | MeshUVScaleFactor | UV Scale factor is cached based on the bounding box of the mesh before any fills are performed. | |
| TSet< int32 > | NewTriangleIDs | ||
| TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > | OriginalMesh | Input mesh. Ownership shared with Op. | |
| EHoleFillToolActions | PendingAction | ||
| TObjectPtr< UMeshOpPreviewWithBackgroundCompute > | Preview | ||
| TObjectPtr< UHoleFillToolProperties > | Properties | ||
| TObjectPtr< UBoundarySelectionMechanic > | SelectionMechanic | ||
| TObjectPtr< USmoothHoleFillProperties > | SmoothHoleFillProperties | ||
| TObjectPtr< UHoleFillStatisticsProperties > | Statistics | ||
| friend | UHoleFillOperatorFactory | ||
| friend | UHoleFillStatisticsProperties | ||
| friend | UHoleFillToolBuilder |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyAction
(
EHoleFillToolActions ActionType |
||
| void | |||
| void | GetLoopsToFill
(
TArray< UE::Geometry::FEdgeLoop >& OutLoops |
Populate an array of Edge Loops to be processed by an FHoleFillOp. | |
| void | Invalidate background compute result (some input changed) | ||
| void | |||
| void | RequestAction
(
EHoleFillToolActions Action |
||
| void | SelectAll () |
||
| void | SetupPreview () |
Create the Preview object. | |
| 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 |
Just call the SelectionMechanism's Render function. | |
| void | Setup () |
UMeshSurfacePointTool. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSelectedBoundaryLoop |