Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshChangeTracker.h |
| Include | #include "DynamicMesh/DynamicMeshChangeTracker.h" |
Syntax
class FDynamicMeshChange
Remarks
FDynamicMeshChange stores a "change" in a FDynamicMesh3, which in this context means the replacement of one set of triangles with a second set, that may have different vertices/attributes. The change can be applied and reverted via ::Apply()
Construction of a well-formed FDynamicMeshChange is quite complex and it is strongly suggested that you do so via FDynamicMeshChangeTracker
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< FDynamicMeshAttributeChangeSet > | AttributeChanges | ||
| TArray< FChangeTriangle > | NewTriangles | ||
| TArray< FChangeVertex > | NewVertices | ||
| TArray< FChangeTriangle > | OldTriangles | ||
| TArray< FChangeVertex > | OldVertices |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Apply
(
FDynamicMesh3* Mesh, |
Apply or Revert this change using the given Mesh | |
| void | ApplyReplaceChange
(
FDynamicMesh3* Mesh, |
||
| void | AttachAttributeChanges
(
TUniquePtr< FDynamicMeshAttributeChangeSet > AttribChanges |
Attach an attribute change set to this mesh change, which will the be applied/reverted automatically | |
| void | CheckValidity
(
EValidityCheckFailMode FailMode |
Run self-validity checks on internal data structures to test if change is well-formed | |
| void | GetSavedTriangleList
(
TArray< int >& TrianglesOut, |
Store IDs of saved triangles in TrianglesOut. | |
| bool | HasSavedVertex
(
int VertexID |
||
| void | SaveInitialTriangle
(
const FDynamicMesh3* Mesh, |
Store the initial state of a triangle | |
| void | SaveInitialVertex
(
const FDynamicMesh3* Mesh, |
Store the initial state of a vertex | |
| void | StoreFinalTriangle
(
const FDynamicMesh3* Mesh, |
Store the final state of a triangle | |
| void | StoreFinalVertex
(
const FDynamicMesh3* Mesh, |
Store the final state of a vertex | |
| void | Do (limited) sanity checks on this MeshChange to ensure it is well-formed |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FChangeTriangle | |||
| FChangeVertex |