UPreviewMesh::TestRayIntersection

Queries Test for ray intersection with the preview mesh.

Windows
MacOS
Linux

Warnings

  • returns false if preview is not visible

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h

Include

#include "PreviewMesh.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp

Syntax

bool TestRayIntersection
(
    const FRay3d & WorldRay
)

Remarks

Queries Test for ray intersection with the preview mesh. Requires that bBuildSpatialDataStructure = true

returns false if preview is not visible

Returns

true if ray intersections mesh

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss