IIntersectionTarget::RayIntersect

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/SpatialInterfaces.h

Include

#include "Spatial/SpatialInterfaces.h"

Syntax

bool RayIntersect
(
    const FRay3d & Ray,
    FVector3d & HitOut,
    FVector3d & HitNormalOut
)

Returns

true if ray hit the object

Parameters

Parameter

Description

Ray

query ray

HitOut

returned hit point

HitNormalOut

returned hit point normal

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