FPointPlanarSnapSolver::RegenerateTargetLinesAround

Sets the snapping lines to be based on the history points _adjacent_ to the point with a given history index.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Snapping/PointPlanarSnapSolver.h

Include

#include "Snapping/PointPlanarSnapSolver.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Snapping/PointPlanarSnapSolver.cpp

Syntax

void RegenerateTargetLinesAround
(
    int32 HistoryIndex,
    bool bWrapAround,
    bool bGenerateIntersections
)

Remarks

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.

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss