Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UCurveControlPointsMechanic
Description
Adds additional line to snap points to. Useful, for instance, if the curve is a revolution profile curve and needs to be able to snap to the revolution axis.
| Name | AddSnapLine |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/CurveControlPointsMechanic.h |
| Include Path | #include "Mechanics/CurveControlPointsMechanic.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Mechanics/CurveControlPointsMechanic.cpp |
void AddSnapLine
(
int32 LineID,
const UE::Geometry::FLine3d & Line
)