Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ToolSceneQueriesUtil::PointSnapQuery
(
const UInteractiveTool* Tool, |
Test if two points are close enough to snap together. | ToolSceneQueriesUtil.h | |
bool ToolSceneQueriesUtil::PointSnapQuery
(
const FViewCameraState& CameraState, |
Test if two points are close enough to snap together. | ToolSceneQueriesUtil.h |
ToolSceneQueriesUtil::PointSnapQuery(const UInteractiveTool *, const FVector3d &, const FVector3d &, double)
Description
Test if two points are close enough to snap together. This is done by computing visual angle between points for current camera position.
| Name | ToolSceneQueriesUtil::PointSnapQuery |
| 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::PointSnapQuery
(
const UInteractiveTool * Tool,
const FVector3d & Point1,
const FVector3d & Point2,
double VisualAngleThreshold
)
}
true if visual angle is < threshold
Parameters
| Name | Remarks |
|---|---|
| VisualAngleThreshold | visual angle threshold to use. If 0, GetDefaultVisualAngleSnapThresh() is used |
ToolSceneQueriesUtil::PointSnapQuery(const FViewCameraState &, const FVector3d &, const FVector3d &, double)
Description
Test if two points are close enough to snap together. This is done by computing visual angle between points for current camera position.
| Name | ToolSceneQueriesUtil::PointSnapQuery |
| 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::PointSnapQuery
(
const FViewCameraState & CameraState,
const FVector3d & Point1,
const FVector3d & Point2,
double VisualAngleThreshold
)
}
Parameters
| Name | Remarks |
|---|---|
| VisualAngleThreshold | visual angle threshold to use. If 0, GetDefaultVisualAngleSnapThresh() is used |