Navigation
API > API/Runtime > API/Runtime/GeometryFramework > API/Runtime/GeometryFramework/Changes
References
| Module | GeometryFramework |
| Header | /Engine/Source/Runtime/GeometryFramework/Public/Changes/MeshVertexChange.h |
| Include | #include "Changes/MeshVertexChange.h" |
Syntax
class FMeshVertexChangeBuilder
Remarks
FMeshVertexChangeBuilder can be used to construct a FMeshVertexChange.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSaveColors | ||
| bool | bSaveOverlayNormals | ||
| bool | bSaveOverlayUVs | ||
| bool | bSavePositions | ||
| TUniquePtr< FMeshVertexChange > | Change | ||
| TUniqueFunction< void(int32, int32)> | OnNewVertexSaved | If set, this function is called whenever a newly-seen VertexID is saved, parameters are (VertexID, Index) into saved-vertices array | |
| TMap< int32, int32 > | SavedNormalElements | ||
| TMap< int32, int32 > | SavedUVElements | ||
| TMap< int32, int32 > | SavedVertices |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshVertexChangeBuilder
(
EMeshVertexChangeComponents Components |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SaveOverlayNormals
(
const FDynamicMesh3* Mesh, |
||
| void | SaveOverlayNormals
(
const FDynamicMesh3* Mesh, |
||
| void | SaveOverlayUVs
(
const FDynamicMesh3* Mesh, |
||
| void | SaveOverlayUVs
(
const FDynamicMesh3* Mesh, |
||
| void | SaveVertexFinal
(
const FDynamicMesh3* Mesh, |
||
| void | SaveVertexInitial
(
const FDynamicMesh3* Mesh, |
||
| void | SaveVertices
(
const FDynamicMesh3* Mesh, |
||
| void | UpdateOverlayNormal
(
int32 ElementID, |
||
| void | UpdateOverlayNormalFinal
(
int32 ElementID, |
||
| void | UpdateOverlayUV
(
int32 ElementID, |
||
| void | UpdateOverlayUVFinal
(
int32 ElementID, |
||
| void | UpdateVertex
(
int32 VertexID, |
Currently only used in vertex sculpt tool. cannot be used if bSaveColors = true | |
| void | UpdateVertexColor
(
int32 VertexID, |
Currently only used in element paint tool. Can only be used if bSaveColors=true and bSavePositions=false | |
| void | UpdateVertexFinal
(
int32 VertexID, |