Warnings
returns false if preview is not visible
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h |
Include |
#include "PreviewMesh.h" |
Source |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp |
bool FindRayIntersection
(
const FRay3d & WorldRay,
FHitResult & HitOut
)
Find ray intersection with the preview mesh. Requires that bBuildSpatialDataStructure = true
returns false if preview is not visible
true if ray intersections mesh
Parameter |
Description |
---|---|
WorldRay |
ray in world space |
HitOut |
output hit data (only certain members are initialized, see implementation) |