Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/ToolSceneQueriesUtil.h |
Include |
#include "ToolSceneQueriesUtil.h" |
Source |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/ToolSceneQueriesUtil.cpp |
namespace ToolSceneQueriesUtil
{
bool ToolSceneQueriesUtil::PointSnapQuery
(
const FViewCameraState & CameraState,
const FVector3d & Point1,
const FVector3d & Point2,
double VisualAngleThreshold
)
}
Test if two points are close enough to snap together. This is done by computing visual angle between points for current camera position.
Parameter |
Description |
---|---|
VisualAngleThreshold |
visual angle threshold to use. If 0, GetDefaultVisualAngleSnapThresh() is used |