UBakeMeshAttributeVertexTool

Vertex Baking Tool

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

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

Include

#include "BakeMeshAttributeVertexTool.h"

Syntax

UCLASS()
class UBakeMeshAttributeVertexTool :
    public UBakeMeshAttributeTool,
    public UE::Geometry::IGenericDataOperatorFactory< UE::Geometry::FMeshVertexBaker >

Remarks

Vertex Baking Tool

Variables

Name Description

Protected variable

FBakeAnalytics

 

BakeAnalytics

Protected variable

bool

 

bColorTopologyValid

Protected variable

bool

 

bIsBakeToSelf

Protected variable

FBakeSettings

 

CachedBakeSettings

Protected variable

TUniquePtr< TGe...

 

Compute

Protected variable

TSharedPtr< UE:...

 

DetailMesh

Protected variable

int32

 

DetailMeshTimestamp

Protected variable

TSharedPtr< UE:...

 

DetailSpatial

Protected variable UProperty

TObjectPtr< UBa...

 

InputMeshSettings

Protected variable

int32

 

NumColorElements

Protected variable UProperty

TObjectPtr< UMa...

 

PreviewAlphaMaterial

Protected variable UProperty

TObjectPtr< UMa...

 

PreviewMaterial

Protected variable UProperty

TObjectPtr< UPr...

 

PreviewMesh

Protected variable UProperty

TObjectPtr< UBa...

 

Settings

Constructors

Functions

Name Description

Protected function Virtual

void

 

GatherAnalytics

(
    FBakeAnalytics::FMeshSettings& Dat...
)

Computes the NumTargetMeshTris, NumDetailMesh and NumDetailMeshTris analytics.

Protected function Static

void

 

GatherAnalytics

(
    const UE::Geometry::FMeshVertexBake...,
    const FBakeSettings& Settings,
    FBakeAnalytics& Data
)

Records bake timing and settings data for analytics.

Protected function

void

 

OnResultUpdated

(
    const TUniquePtr< UE::Geometry::FMe...
)

Protected function Static

void

 

RecordAnalytics

(
    const FBakeAnalytics& Data,
    const FString& EventName
)

Outputs an analytics event using the given analytics struct.

Protected function

void

 

SetSourceObjectVisible

(
    bool bState
)

Protected function

void

 

UpdateColorTopology()

Protected function

void

 

UpdateDetailMesh()

Protected function

void

 

UpdateOnModeChange()

Protected function

void

 

UpdateResult()

Protected function

void

 

UpdateVisualization()

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

 

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

Overridden from IGenericDataOperatorFactory

Name Description

Public function Virtual

TUniquePtr< ...

 

MakeNewOperator()

Classes

Name

Description

Protected struct

FBakeAnalytics

Analytics

Protected struct

FBakeSettings