UBakeMultiMeshAttributeMapsTool

TODO: Refactor shared code into common base class.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/BakeMultiMeshAttributeMapsTool.h

Include

#include "BakeMultiMeshAttributeMapsTool.h"

Syntax

UCLASS()
class UBakeMultiMeshAttributeMapsTool : public UBakeMeshAttributeMapsToolBase

Remarks

N-to-1 Detail Map Baking Tool

Variables

Name Description

Protected variable

TArray< TShared...

 

CachedColorImages

Protected variable

TArray< int >

 

CachedColorUVLayers

Protected variable

FBakeMultiMeshD...

 

CachedDetailSettings

Cached detail mesh data.

Protected variable

FTextureImageMa...

 

CachedMeshToColorImagesMap

Protected variable

UE::Geometry::F...

 

DetailMeshScene

Protected variable UProperty

TObjectPtr< UBa...

 

InputMeshSettings

Protected variable UProperty

TObjectPtr< UBa...

 

ResultSettings

Protected variable UProperty

TObjectPtr< UBa...

 

Settings

Need to update bResultValid if these are modified, so we don't publicly expose them.

Constructors

Functions

Name Description

Protected function Virtual

void

 

GatherAnalytics

(
    FBakeAnalytics::FMeshSettings& Dat...
)

Protected function

void

 

InvalidateResults()

Protected function

void

 

UpdateOnModeChange()

Protected function

EBakeOpState

 

UpdateResult_DetailMeshes()

Overridden from UBakeMeshAttributeMapsToolBase

Name Description

Protected function Virtual Const

FString

 

GetAnalyticsEventName()

Analytics.

Protected function Virtual

void

 

UpdateResult()

Process dirty props and update background compute. Invoked during Render.

Protected function Virtual

void

 

UpdateVisualization()

Updates the preview material on the preview mesh with the computed results.

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

CanAccept()

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

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

Overridden from IGenericDataOperatorFactory

Name Description

Public function Virtual

TUniquePtr< ...

 

MakeNewOperator()

Typedefs