UPolyEditActivityContext

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UPolyEditActivityContext

References

Module

MeshModelingTools

Header

/Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/ToolActivities/PolyEditActivityContext.h

Include

#include "ToolActivities/PolyEditActivityContext.h"

Syntax

UCLASS()
class UPolyEditActivityContext : public UObject

Variables

Name Description

Public variable

bool

 

bTriangleMode

Public variable UProperty

TObjectPtr< UPo...

 

CommonProperties

Public variable

TSharedPtr< UE:...

 

CurrentMesh

The CurrentMesh is the authoritative current version of the mesh, which would be baked back to the asset on accept.

Public variable

TSharedPtr< UE:...

 

CurrentTopology

The activity should update CurrentTopology and MeshSpatial if it alters CurrentMesh.

Public variable

TUniqueFunction...

 

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.

Public variable

TUniqueFunction...

 

EmitCurrentMeshChangeAndUpdate

Given a change to CurrentMesh (already applied and stored in MeshChangeIn), use this function to properly emit it from the host.

Public variable

TSharedPtr< UE:...

 

MeshSpatial

Public variable

FOnUndoRedo

 

OnUndoRedo

Public variable UProperty

TObjectPtr< UMe...

 

Preview

The mesh stored in the preview is not authoritative.

Public variable UProperty

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.

Typedefs

Name

Description

FOnUndoRedo

Gets broadcast when the CurrentMesh is modified by an undo/redo transaction emitted via EmitCurrentMeshChangeAndUpdate.