Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UMeshTopologySelectionMechanic
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool TopologyHitTest
(
const FRay& WorldRay, |
Selection/MeshTopologySelectionMechanic.h | ||
bool TopologyHitTest
(
const FRay& WorldRay, |
Perform a hit test on the topology using the current selection settings. | Selection/MeshTopologySelectionMechanic.h |
TopologyHitTest(const FRay &, FHitResult &, bool)
| Name | TopologyHitTest |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/MeshTopologySelectionMechanic.h |
| Include Path | #include "Selection/MeshTopologySelectionMechanic.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/MeshTopologySelectionMechanic.cpp |
bool TopologyHitTest
(
const FRay & WorldRay,
FHitResult & OutHit,
bool bUseOrthoSettings
)
TopologyHitTest(const FRay &, FHitResult &, FGroupTopologySelection &, bool)
Description
Perform a hit test on the topology using the current selection settings. Note that to work properly, the mechanic requires that Render() be called on it, as it needs to cache camera state. 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 (Note: 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.
| Name | TopologyHitTest |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/MeshTopologySelectionMechanic.h |
| Include Path | #include "Selection/MeshTopologySelectionMechanic.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/MeshTopologySelectionMechanic.cpp |
bool TopologyHitTest
(
const FRay & WorldRay,
FHitResult & OutHit,
FGroupTopologySelection & OutSelection,
bool bUseOrthoSettings
)
Parameters
| Name | Remarks |
|---|---|
| bUseOrthoSettings | If true, the ortho-relevant settings for selection are used (selecting down the view ray, etc) |