Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UMeshTopologySelectionMechanic
Description
Removes the mechanic's own click/hover handlers, which means that the parent tool will need to call UpdateSelection(), UpdateHighlight(), ClearHighlight(), and ClearSelection() from its own hover/click handlers.
Must be called during tool Setup() after calling Setup() on the mechanic to have an effect.
| Name | DisableBehaviors |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/MeshTopologySelectionMechanic.h |
| Include Path | #include "Selection/MeshTopologySelectionMechanic.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/MeshTopologySelectionMechanic.cpp |
void DisableBehaviors
(
UInteractiveTool * ParentToolIn
)
Parameters
| Name | Remarks |
|---|---|
| ParentToolIn | The parent tool, needed to be able to remove the behaviors. |