Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp
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.
| Name | UMeshToVolumeTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/MeshToVolumeTool.h |
| Include Path | #include "MeshToVolumeTool.h" |
Syntax
UCLASS (MinimalAPI)
class UMeshToVolumeTool :
public USingleSelectionMeshEditingTool ,
public UE::Geometry::IGenericDataOperatorFactory< FDynamicMeshFaceArray >
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → USingleSelectionTool → USingleSelectionMeshEditingTool → UMeshToVolumeTool
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMeshToVolumeTool() |
MeshToVolumeTool.h |
Functions
Public
Overridden from USingleSelectionMeshEditingTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnShutdown
(
EToolShutdownType ShutdownType |
MeshToVolumeTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
MeshToVolumeTool.h | ||
virtual bool HasAccept() |
MeshToVolumeTool.h | ||
virtual bool HasCancel() |
MeshToVolumeTool.h | ||
virtual void OnTick
(
float DeltaTime |
MeshToVolumeTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
MeshToVolumeTool.h | ||
virtual void Setup() |
MeshToVolumeTool.h |
Overridden from IGenericDataOperatorFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< UE::Geometry::TGenericDataOperator< FDynamicMeshFaceArray > > MakeNewOperator() |
IGenericDataOperatorFactory API. | MeshToVolumeTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateLineSet
(
FDynamicMeshFaceArray& Faces |
MeshToVolumeTool.h |