Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ToolSceneQueriesUtil::FindSceneSnapPoint
(
FFindSceneSnapPointParams& Params |
Run a query against the scene to find the best SnapPointOut for the given Point | ToolSceneQueriesUtil.h | |
bool ToolSceneQueriesUtil::FindSceneSnapPoint
(
const UInteractiveTool* Tool, |
Run a query against the scene to find the best SnapPointOut for the given Point | ToolSceneQueriesUtil.h |
ToolSceneQueriesUtil::FindSceneSnapPoint(FFindSceneSnapPointParams &)
Description
Run a query against the scene to find the best SnapPointOut for the given Point
| Name | ToolSceneQueriesUtil::FindSceneSnapPoint |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ToolSceneQueriesUtil.h |
| Include Path | #include "ToolSceneQueriesUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ToolSceneQueriesUtil.cpp |
namespace ToolSceneQueriesUtil
{
bool ToolSceneQueriesUtil::FindSceneSnapPoint
(
FFindSceneSnapPointParams & Params
)
}
ToolSceneQueriesUtil::FindSceneSnapPoint(const UInteractiveTool , const FVector3d &, FVector3d &, bool, bool, double, FSnapGeometry , FVector *)
Description
Run a query against the scene to find the best SnapPointOut for the given Point
| Name | ToolSceneQueriesUtil::FindSceneSnapPoint |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ToolSceneQueriesUtil.h |
| Include Path | #include "ToolSceneQueriesUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ToolSceneQueriesUtil.cpp |
namespace ToolSceneQueriesUtil
{
bool ToolSceneQueriesUtil::FindSceneSnapPoint
(
const UInteractiveTool * Tool,
const FVector3d & Point,
FVector3d & SnapPointOut,
bool bVertices,
bool bEdges,
double VisualAngleThreshold,
FSnapGeometry * SnapGeometry,
FVector * DebugTriangleOut
)
}
true if a valid snap point was found
Parameters
| Name | Remarks |
|---|---|
| bVertices | if true, try snapping to mesh vertices in the scene |
| bEdges | if true, try snapping to mesh triangle edges in the scene |
| VisualAngleThreshold | visual angle threshold to use. If 0, GetDefaultVisualAngleSnapThresh() is used |
| SnapGeometry | world-space position of the snap geometry (point/line/polygon) |
| DebugTriangleOut | if non-null, triangle containing snap is returned if a snap is found |