| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Changes/DynamicMeshChangeTarget.h |
Include |
#include "Changes/DynamicMeshChangeTarget.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient)
class UDynamicMeshReplacementChangeTarget :
public UObject,
public IMeshReplacementCommandChangeTarget
Bare bones wrapper of FDynamicMesh3 that supports MeshReplacementChange-based updates. Shares the mesh ptr with the MeshReplacementChange objects, so it must not be changed directly TODO: also support other MeshChange objects (by making a copy of the mesh when applying these changes)
Name | Description | ||
---|---|---|---|
|
TSharedPtr< con... |
Mesh |
|
|
FSimpleMulticas... |
OnMeshChanged |
This delegate fires when a FCommandChange is applied to this component, so that parent objects know the mesh has changed. |
Name | Description | |
---|---|---|
|
UDynamicMeshReplacementChangeTarget() |
|
|
UDynamicMeshReplacementChangeTarget ( |
Name | Description | |
---|---|---|
|
~UDynamicMeshReplacementChangeTarget() |
Name | Description | ||
---|---|---|---|
|
const TShare... |
GetMesh() |
|
|
TUniquePtr< ... |
ReplaceMesh ( |
Update the mesh and return a corresponding FChange Does not emit the change. |
|
SetMesh ( |
Name | Description | ||
---|---|---|---|
|
ApplyChange ( |
Apply/Revert a general mesh change to the internal mesh (implements IMeshReplacementCommandChangeTarget) |