Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FPointPlanarSnapSolver
Description
Creates snap lines based on the last point in the point history. Calling the function with both parameters set to false clears the generated snap lines.
| Name | RegenerateTargetLines |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Snapping/PointPlanarSnapSolver.h |
| Include Path | #include "Snapping/PointPlanarSnapSolver.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Snapping/PointPlanarSnapSolver.cpp |
void RegenerateTargetLines
(
bool bCardinalAxes,
bool bLastHistorySegment
)
Parameters
| Name | Remarks |
|---|---|
| bCardinalAxes | If true, the generated lines are parallel to the axes of the plane and pass through the last point. |
| bLastHistorySegment | If true, adds a snap line through the last point that is 90 degrees to the last segment. |