Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Snapping/PointPlanarSnapSolver.h |
Include |
#include "Snapping/PointPlanarSnapSolver.h" |
Source |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Snapping/PointPlanarSnapSolver.cpp |
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.
Parameter |
Description |
---|---|
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. |