Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Tool that transfers UV data from a lower res mesh to a higher one. The lower resolution mesh is typically obtained by simplifying the destination mesh with a "use existing vertices" setting so that an easy correspondence between mesh vertices can be found.
| Name | UUVTransferTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/UVTransferTool.h |
| Include Path | #include "UVTransferTool.h" |
Syntax
UCLASS (MinimalAPI)
class UUVTransferTool :
public UMultiTargetWithSelectionTool ,
public UE::Geometry::IDynamicMeshOperatorFactory ,
public IInteractiveToolManageGeometrySelectionAPI
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → UMultiSelectionTool → UMultiTargetWithSelectionTool → UUVTransferTool
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DestinationMaterialSettings | TObjectPtr< UExistingMeshMaterialProperties > | UVTransferTool.h | ||
| DestinationPreview | TObjectPtr< UMeshOpPreviewWithBackgroundCompute > | UVTransferTool.h | ||
| DestinationSeamVisualizer | TObjectPtr< UMeshElementsVisualizer > | UVTransferTool.h | ||
| Meshes | TSharedPtr< UE::Geometry::FDynamicMesh3 > | Normally, Mesh1 corresponds to source and Mesh2 is destination, but this is reversed if bReverseDirection is true. | UVTransferTool.h | |
| SelectionTidSets | TOptional< TSet< int32 > > | UVTransferTool.h | ||
| Settings | TObjectPtr< UUVTransferToolProperties > | UVTransferTool.h | ||
| SourcePreview | TObjectPtr< UPreviewMesh > | UVTransferTool.h | ||
| SourceSeamVisualizer | TObjectPtr< UMeshElementsVisualizer > | UVTransferTool.h | ||
| UVChannelProperties | TObjectPtr< UMeshUVChannelProperties > | UVTransferTool.h |
Functions
Public
Overridden from UMultiTargetWithSelectionTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnShutdown
(
EToolShutdownType ShutdownType |
UMultiSelectionMeshEditingTool. | UVTransferTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
UVTransferTool.h | ||
virtual bool HasAccept() |
UVTransferTool.h | ||
virtual bool HasCancel() |
UVTransferTool.h | ||
| UVTransferTool.h | |||
virtual void OnTick
(
float DeltaTime |
UVTransferTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
UVTransferTool.h | ||
virtual void Setup() |
UInteractiveTool. | UVTransferTool.h |
Overridden from IDynamicMeshOperatorFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< UE::Geometry::FDynamicMeshOperator > MakeNewOperator() |
IDynamicMeshOperatorFactory. | UVTransferTool.h |
Overridden from IInteractiveToolManageGeometrySelectionAPI
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsInputSelectionValidOnOutput() |
IInteractiveToolManageGeometrySelectionAPI this tool won't update external geometry selection or change selection-relevant mesh IDs. | UVTransferTool.h |