Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/UUVEditorMeshSelectionMechanic
Description
This is a helper method that doesn't get used in normal selection mechanic operation, but can be used by clients if they need to raycast canonical meshes, since the mechanic already keeps aabb trees for them. The mechanic does not need to be enabled to use this (and typically will not be, if a tool is doing its own raycasting).
| Name | RaycastCanonicals |
| Type | function |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVEditorMeshSelectionMechanic.h |
| Include Path | #include "Selection/UVEditorMeshSelectionMechanic.h" |
| Source | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Private/Selection/UVEditorMeshSelectionMechanic.cpp |
bool RaycastCanonicals
(
const FRay & WorldRay,
bool bRaycastIsForUnwrap,
bool bPreferSelected,
FRaycastResult & HitOut
) const