Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Selection/PolygonSelectionMechanic.h |
Include |
#include "Selection/PolygonSelectionMechanic.h" |
Source |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Selection/PolygonSelectionMechanic.cpp |
bool TopologyHitTest
(
const FRay & WorldRay,
FHitResult & OutHit,
bool bUseOrthoSettings
)
Perform a hit test on the topology using the current selection settings. In cases of hitting edges and corners, OutHit contains the following: OutHit.FaceIndex: edge or corner id in the topology OutHit.ImpactPoint: closest point on the ray to the hit element (
not a point on the element!) OutHit.Distance: distance along the ray to ImpactPoint OutHit.Item: if hit item was an edge, index of the segment within the edge polyline. Otherwise undefined.
Parameter |
Description |
---|---|
bUseOrthoSettings |
If true, the ortho-relevant settings for selection are used (selecting down the view ray, etc) |