![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MeshChange.h>
Inheritance diagram for FMeshChange:Public Attributes | |
| TUniquePtr< UE::Geometry::FDynamicMeshChange > | DynamicMeshChange |
| TFunction< void(FMeshChange *, UObject *, bool)> | OnChangeAppliedFunc |
Additional Inherited Members | |
Public Types inherited from FChange | |
| enum class | EChangeStyle { InPlaceSwap , CommandPattern } |
Protected Member Functions inherited from FChange | |
| FChange () | |
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
|
default |
| FMeshChange::FMeshChange | ( | TUniquePtr< UE::Geometry::FDynamicMeshChange > | DynamicMeshChangeIn | ) |
|
default |
Makes the change to the object
Implements FChange.
|
virtual |
Apply embedded DynamicMeshChange to given Mesh. This function is for change-targets to call, when passed a FMeshChange to apply to a Mesh they own. This allows FMeshChange subclasses to customize the change behavior if necessary. The default behavior just forwards the call to DynamicMeshChange->Apply(Mesh, bRevert).
|
overridevirtual |
FRegionMeshChangeBase API – builds an array of all vertices changed and passes to the ProcessFn lambda
Implements FMeshRegionChangeBase.
Reverts change to the object
Implements FChange.
|
overridevirtual |
Describes this change (for debugging)
Reimplemented from FToolCommandChange.
| TUniquePtr<UE::Geometry::FDynamicMeshChange> FMeshChange::DynamicMeshChange |
| TFunction<void(FMeshChange*, UObject*, bool)> FMeshChange::OnChangeAppliedFunc |
This function is called on Apply and Revert (last argument is true on Apply)