UCurveControlPointsMechanic::DeleteSelectedPoints

Deletes currently selected points- can be called on a key press from the parent tool.

Choose your operating system:

Windows

macOS

Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/CurveControlPointsMechanic.h

Include

#include "Mechanics/CurveControlPointsMechanic.h"

Source

/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Mechanics/CurveControlPointsMechanic.cpp

Syntax

void DeleteSelectedPoints()

Remarks

Deletes currently selected points- can be called on a key press from the parent tool.

Ideally, the mechanic would catch key presses itself, without the tool having to worry about it. However for now, we are limited to having to register the key handler in the tool.