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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback