Navigation
API > API/Runtime > API/Runtime/GeometryFramework > API/Runtime/GeometryFramework/Changes
Inheritance Hierarchy
- FToolCommandChange
- FMeshChange
- FMeshPolygroupChange
References
| Module | GeometryFramework |
| Header | /Engine/Source/Runtime/GeometryFramework/Public/Changes/MeshChange.h |
| Include | #include "Changes/MeshChange.h" |
Syntax
class FMeshChange : public FToolCommandChange
Remarks
FMeshChange represents an undoable change to a FDynamicMesh3. Currently only valid to call Apply/Revert when the Object is a one of several components backed by FDynamicMesh: UDynamicMeshComponent, UOctreeDynamicMeshComponent, UPreviewMesh
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< UE::Geometry::FDynamicMeshChange > | DynamicMeshChange | ||
| TFunction< void(FMeshChange *, UObject *, bool)> | OnChangeAppliedFunc | This function is called on Apply and Revert (last argument is true on Apply) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshChange () |
|||
FMeshChange
(
TUniquePtr< UE::Geometry::FDynamicMeshChange > DynamicMeshChangeIn |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FMeshChange () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Apply
(
UObject* Object |
Makes the change to the object | |
| void | ApplyChangeToMesh
(
UE::Geometry::FDynamicMesh3* Mesh, |
Apply embedded DynamicMeshChange to given Mesh. | |
| void | Revert
(
UObject* Object |
Reverts change to the object | |
| FString | ToString () |
Describes this change (for debugging) |