UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::IIntersectionTarget Class Referenceabstract

#include <SpatialInterfaces.h>

Public Member Functions

virtual ~IIntersectionTarget ()
 
virtual bool HasNormal ()=0
 
virtual bool RayIntersect (const FRay3d &Ray, FVector3d &HitOut, FVector3d &HitNormalOut)=0
 

Detailed Description

IIntersectionTarget is an object that can be intersected with a ray

Constructor & Destructor Documentation

◆ ~IIntersectionTarget()

virtual UE::Geometry::IIntersectionTarget::~IIntersectionTarget ( )
inlinevirtual

Member Function Documentation

◆ HasNormal()

virtual bool UE::Geometry::IIntersectionTarget::HasNormal ( )
pure virtual
Returns
true if RayIntersect will return a normal

◆ RayIntersect()

virtual bool UE::Geometry::IIntersectionTarget::RayIntersect ( const FRay3d Ray,
FVector3d HitOut,
FVector3d HitNormalOut 
)
pure virtual
Parameters
Rayquery ray
HitOutreturned hit point
HitNormalOutreturned hit point normal
Returns
true if ray hit the object

The documentation for this class was generated from the following file: