Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UGeometrySelectionManager
Description
Use the given WorldRay to update the active element selection based on UpdateConfig. The intention is that this function is called by higher-level user interaction code after RayHitTest() has returned true.
| Name | UpdateSelectionViaRaycast |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/GeometrySelectionManager.h |
| Include Path | #include "Selection/GeometrySelectionManager.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/GeometrySelectionManager.cpp |
virtual void UpdateSelectionViaRaycast
(
const FRay3d & WorldRay,
const FGeometrySelectionUpdateConfig & UpdateConfig,
FGeometrySelectionUpdateResult & ResultOut
)
Parameters
| Name | Remarks |
|---|---|
| ResultOut | information on any element selection modifications is returned here |