TIntrRay3AxisAlignedBox3::FindIntersection

Find intersection of ray with AABB and returns ray T-value of intersection point (or [TNumericLimits::Max()](API\Runtime\Engine\PhysCommand__Type) on miss)

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Intersection/IntrRay3AxisAlignedBox3.h

Include

#include "Intersection/IntrRay3AxisAlignedBox3.h"

Syntax

static bool FindIntersection
(
    const TRay3< RealType > & Ray,
    const TAxisAlignedBox3< RealType > & Box,
    RealType & RayParamOut
)

Remarks

Find intersection of ray with AABB and returns ray T-value of intersection point (or TNumericLimits::Max() on miss)

Returns

true if ray intersects box

Parameters

Parameter

Description

Ray

query ray

Box

query box

RayParamOut

ray intersect T-value, or TNumericLimits::Max()

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