Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/IGeometrySelector
Description
Query the Selector for a potential selection based on world-space Ray. The intention of this query is that it be used for "selection preview", eg like hover-highlighting. The PreviewEditor will always be updated in 'Add' mode, and currently no result information will be returned.
CurrentSelection is provided for selectors which have conditionally selectable geometry. While not enforced, the expectation is that we add elements to the PreviewEditor only if those elements are considered selectable with respect to CurrentSelection.
| Name | GetConditionalSelectionPreviewForRaycast |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/GeometrySelector.h |
| Include Path | #include "Selection/GeometrySelector.h" |
virtual void GetConditionalSelectionPreviewForRaycast
(
const FWorldRayQueryInfo & RayInfo,
FGeometrySelectionEditor & PreviewEditor,
const FGeometrySelection * CurrentSelection
)