FMeshVertexChangeBuilder

[FMeshVertexChangeBuilder](API\Plugins\ModelingComponents\Changes\FMeshVertexChangeBuilder) can be used to construct a [FMeshVertexChange](API\Plugins\ModelingComponents\Changes\FMeshVertexChange).

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Changes/MeshVertexChange.h

Include

#include "Changes/MeshVertexChange.h"

Syntax

class FMeshVertexChangeBuilder

Remarks

FMeshVertexChangeBuilder can be used to construct a FMeshVertexChange.

Variables

Name Description

Public variable

bool

 

bSaveColors

Public variable

bool

 

bSaveOverlayNormals

Public variable

bool

 

bSavePositions

Public variable

TUniquePtr< FMe...

 

Change

Public variable

TUniqueFunction...

 

OnNewVertexSaved

If set, this function is called whenever a newly-seen VertexID is saved, parameters are (VertexID, Index) into saved-vertices array

Public variable

TMap< int32, in...

 

SavedNormalElements

Public variable

TMap< int32, in...

 

SavedVertices

Constructors

Functions

Name Description

Public function

void

 

SaveOverlayNormals

(
    const FDynamicMesh3* Mesh,
    const TArray< int32 >& ElementIDs,
    bool bInitial
)

Public function

void

 

SaveOverlayNormals

(
    const FDynamicMesh3* Mesh,
    const TSet< int32 >& ElementIDs,
    bool bInitial
)

Public function

void

 

SaveVertexFinal

(
    const FDynamicMesh3* Mesh,
    int32 VertexID
)

Public function

void

 

SaveVertexInitial

(
    const FDynamicMesh3* Mesh,
    int32 VertexID
)

Public function

void

 

SaveVertices

(
    const FDynamicMesh3* Mesh,
    Enumerable Enum,
    bool bInitial
)

Protected function

void

 

UpdateOverlayNormal

(
    int32 ElementID,
    const FVector3f& OldNormal,
    const FVector3f& NewNormal
)

Protected function

void

 

UpdateOverlayNormalFinal

(
    int32 ElementID,
    const FVector3f& NewNormal
)

Public function

void

 

UpdateVertex

(
    int32 VertexID,
    const FVector3d& OldPosition,
    const FVector3d& NewPosition
)

Currently only used in vertex sculpt tool. cannot be used if bSaveColors = true

Protected function

void

 

UpdateVertexFinal

(
    int32 VertexID,
    const FVector3d& NewPosition
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss