UMeshToVolumeTool

Converts a mesh to a volume.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsEditorOnly

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnly/Public/MeshToVolumeTool.h

Include

#include "MeshToVolumeTool.h"

Syntax

UCLASS()
class UMeshToVolumeTool : public USingleSelectionMeshEditingTool

Remarks

Converts a mesh to a volume.

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

Constructors

Name Description

Public function

UMeshToVolumeTool()

Functions

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

Public function Virtual

void

 

OnTick

(
    float DeltaTime
)

Action support/system

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Tool to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup()

Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool