![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MeshVertexChange.h>
Inheritance diagram for FMeshVertexChange:Public Member Functions | |
| virtual GEOMETRYFRAMEWORK_API void | Apply (UObject *Object) override |
| virtual GEOMETRYFRAMEWORK_API void | Revert (UObject *Object) override |
| virtual GEOMETRYFRAMEWORK_API void | ProcessChangeVertices (const UE::Geometry::FDynamicMesh3 *ChangedMesh, TFunctionRef< void(TConstArrayView< int32 >)> ProcessFn, bool bRevert) const override |
| virtual GEOMETRYFRAMEWORK_API FString | ToString () const override |
Public Member Functions inherited from FCommandChange | |
| virtual EChangeStyle | GetChangeType () final |
| virtual TUniquePtr< FChange > | Execute (UObject *Object) final |
Public Member Functions inherited from FChange | |
| virtual bool | HasExpired (UObject *Object) const |
| virtual void | AddReferencedObjects (FReferenceCollector &Collector) |
| virtual CORE_API void | PrintToLog (FFeedbackContext &FeedbackContext, const int32 IndentLevel=0) |
| virtual SIZE_T | GetSize () const |
| virtual | ~FChange () |
Public Attributes | |
| bool | bHaveVertexPositions = true |
| bool | bHaveVertexColors = false |
| TArray< int32 > | Vertices |
| TArray< FVector3d > | OldPositions |
| TArray< FVector3d > | NewPositions |
| TArray< FVector3f > | OldColors |
| TArray< FVector3f > | NewColors |
| bool | bHaveOverlayNormals = false |
| TArray< int32 > | Normals |
| TArray< FVector3f > | OldNormals |
| TArray< FVector3f > | NewNormals |
| bool | bHaveOverlayUVs = false |
| TArray< int32 > | UVs |
| TArray< FVector2f > | OldUVs |
| TArray< FVector2f > | NewUVs |
Additional Inherited Members | |
Public Types inherited from FChange | |
| enum class | EChangeStyle { InPlaceSwap , CommandPattern } |
Protected Member Functions inherited from FChange | |
| FChange () | |
FMeshVertexChange represents an reversible change to a set of vertex positions, normals, colors and UVs Currently only a UDynamicMeshComponent target is supported.
Makes the change to the object
Implements FChange.
|
overridevirtual |
FRegionMeshChangeBase API – passes the Vertices array to the ProcessFn lambda
Implements FMeshRegionChangeBase.
Reverts change to the object
Implements FChange.
|
overridevirtual |
Describes this change (for debugging)
Reimplemented from FToolCommandChange.