Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp
Inheritance Hierarchy
- USingleSelectionMeshEditingTool
- IGenericDataOperatorFactory
- UMeshToVolumeTool
References
| Module | MeshModelingToolsEditorOnlyExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/MeshToVolumeTool.h |
| Include | #include "MeshToVolumeTool.h" |
Syntax
UCLASS&40;&41;
class UMeshToVolumeTool :
public USingleSelectionMeshEditingTool,
public UE::Geometry::IGenericDataOperatorFactory< FDynamicMeshFaceArray >
Remarks
Converts a mesh to a volume.
Note: If ConversionUtils/DynamicMeshToVolume is rewritten to be safe for runtime, this tool can be moved out of the editor-only section and put with VolumeToMeshTool.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< TGenericDataBackgroundCompute< FDynamicMeshFaceArray > > | Compute | ||
| TObjectPtr< UOnAcceptHandleSourcesPropertiesSingle > | HandleSourcesProperties | ||
| TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > | InputMesh | ||
| TObjectPtr< UPreviewMesh > | PreviewMesh | ||
| TObjectPtr< UMeshToVolumeToolProperties > | Settings | ||
| TObjectPtr< ULineSetComponent > | VolumeEdgesSet |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateLineSet
(
FDynamicMeshFaceArray& Faces |
Overridden from USingleSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| 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 |
Overridden from IGenericDataOperatorFactory
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< UE::Geometry::TGenericDataOperator< FDynamicMeshFaceArray > > | IGenericDataOperatorFactory API. |