UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TIntrRay3OrientedBox3< RealType > Class Template Reference

#include <IntrRay3OrientedBox3.h>

Static Public Member Functions

static bool FindIntersection (const TRay< RealType > &Ray, const TOrientedBox3< RealType > &Box, RealType &RayParamOut)
 

Detailed Description

template<typename RealType>
class UE::Geometry::TIntrRay3OrientedBox3< RealType >

Compute intersection between 3D ray and 3D oriented box

Member Function Documentation

◆ FindIntersection()

template<typename RealType >
static bool UE::Geometry::TIntrRay3OrientedBox3< RealType >::FindIntersection ( const TRay< RealType > &  Ray,
const TOrientedBox3< RealType > &  Box,
RealType &  RayParamOut 
)
inlinestatic

Find intersection of ray with oriented box

Parameters
Rayquery ray
Boxquery box
RayParamOutray intersect T-value, or TNumericLimits::Max() on miss
Returns
true if ray intersects box

Based on GeometricTools Engine implementation: https://www.geometrictools.com/GTE/Mathematics/IntrRay3OrientedBox3.h


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