Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/ToolActivities/PolyEditActivityContext.h |
Include |
#include "ToolActivities/PolyEditActivityContext.h" |
UCLASS()
class UPolyEditActivityContext : public UObject
Name | Description | ||
---|---|---|---|
|
bTriangleMode |
||
|
TObjectPtr< UPo... |
CommonProperties |
|
|
TSharedPtr< UE:... |
CurrentMesh |
The CurrentMesh is the authoritative current version of the mesh, which would be baked back to the asset on accept. |
|
TSharedPtr< UE:... |
CurrentTopology |
The activity should update CurrentTopology and MeshSpatial if it alters CurrentMesh. |
|
EmitActivityStart |
If an activity starts running, it should use this function to have the host emit an appropriate undoable transaction with the given transaction label. |
|
|
EmitCurrentMeshChangeAndUpdate |
Given a change to CurrentMesh (already applied and stored in MeshChangeIn), use this function to properly emit it from the host. |
|
|
TSharedPtr< UE:... |
MeshSpatial |
|
|
OnUndoRedo |
||
|
TObjectPtr< UMe... |
Preview |
The mesh stored in the preview is not authoritative. |
|
TObjectPtr< UPo... |
SelectionMechanic |
The activity may use the selection mechanic to get (or alter) the current selection, though if selection is just being changed at the end of the activity, it should probably be done through EmitCurrentMeshChangeAndUpdate so that it is lumped with the same undo transaction. |
Name |
Description |
---|---|
FOnUndoRedo |
Gets broadcast when the CurrentMesh is modified by an undo/redo transaction emitted via EmitCurrentMeshChangeAndUpdate. |