Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Selection/GroupTopologySelector.h |
Include |
#include "Selection/GroupTopologySelector.h" |
Source |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Selection/GroupTopologySelector.cpp |
bool FindSelectedElement
(
const FRay3d & Ray,
FGroupTopologySelection & ResultOut,
FVector3d & SelectedPositionOut,
FVector3d & SelectedNormalOut
)
Find which element was selected for a given ray
Parameter |
Description |
---|---|
Ray |
hit-test ray |
ResultOut |
resulting selection. At most one of the Groups/Corners/Edges members will contain one element. |
SelectedPositionOut |
The point on the ray nearest to the selected element |
SelectedNormalOut |
the normal at that point if ResultOut contains a selected face, otherwise uninitialized |