Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FPointPlanarSnapSolver
Description
Sets the snapping lines to be based on the history points adjacent to the point with a given history index. The given index can be one beyond the ends of the current history (i.e., -1 or PointHistoryLength) to base the lines on the first/last points. The snap lines will be parallel to the plane axes. Useful for moving a point to be aligned with one of its neighbors.
| Name | RegenerateTargetLinesAround |
| 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 RegenerateTargetLinesAround
(
int32 HistoryIndex,
bool bWrapAround,
bool bGenerateIntersections
)
Parameters
| Name | Remarks |
|---|---|
| HistoryIndex | Index in the range [-1, PointHistoryLength()]. The points adjacent to that index will be used for line generation. |
| bWrapAround | If true, the first point will be considered adjacent to the last when HistoryIndex is 0 or PointHistoryLength()-1. |
| bGenerateIntersections | If true, intersections will be generated as higher-priority points. Intersections are performed with generated and user-specified lines that lie in the plane. |