Navigation
Unreal Engine C++ API Reference > Plugins > ModelingComponents > Snapping > FBasePositionSnapSolver3 > AddPointTarget
References
Module | ModelingComponents |
Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Snapping/BasePositionSnapSolver3.h |
Include | #include "Snapping/BasePositionSnapSolver3.h" |
Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Snapping/BasePositionSnapSolver3.cpp |
virtual void AddPointTarget
&40;
const FVector3d & Position,
int TargetID,
const FCustomMetric & CustomMetric,
int Priority
&41;
Remarks
Add a snap target point at the given Position
Parameters
Name | Description |
---|---|
Position | snap target point location |
TargetID | identifier for this target. Can be shared with other targets |
CustomMetric | Use the given custom metric instead of the default metric |
Priority | importance of this snap point. Lower priority is more important. |