FPointPlanarSnapSolver::RegenerateTargetLines

Creates snap lines based on the last point in the point history.

Choose your operating system:

Windows

macOS

Linux

References

Module

ModelingComponents

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

Syntax

void RegenerateTargetLines
(
    bool bCardinalAxes,
    bool bLastHistorySegment
)

Remarks

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.

Parameters

Parameter

Description

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.