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. Usage is to call UpdateVertex() each time a vertex moves, with the old and new positions.

Variables

Name Description

Public variable

bool

 

bSaveOverlayNormals

Public variable

TUniquePtr< FMe...

 

Change

Public variable

TMap< int, int ...

 

SavedNormalElements

Public variable

TMap< int, int ...

 

SavedVertices

Constructors

Name Description

Public function

FMeshVertexChangeBuilder

(
    bool bSaveOverlayNormals
)

Functions

Name Description

Public function

void

 

SaveOverlayNormals

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

Public function

void

 

SaveOverlayNormals

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

Public function

void

 

SavePosition

(
    const FDynamicMesh3* Mesh,
    int VertexID,
    bool bInitial
)

Public function

void

 

SavePositions

(
    const FDynamicMesh3* Mesh,
    const TArray< int >& VertexIDs,
    bool bInitial
)

Public function

void

 

SavePositions

(
    const FDynamicMesh3* Mesh,
    const TSet< int >& VertexIDs,
    bool bInitial
)

Public function

void

 

UpdateOverlayNormal

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

Public function

void

 

UpdateOverlayNormalFinal

(
    int ElementID,
    const FVector3f& NewNormal
)

Public function

void

 

UpdateVertex

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

Public function

void

 

UpdateVertexFinal

(
    int 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