Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Intersection > API/Runtime/GeometryCore/Intersection/TIntrRay3AxisAlignedBox3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntrRay3AxisAlignedBox3.h |
| Include | #include "Intersection/IntrRay3AxisAlignedBox3.h" |
static bool TestIntersection
&40;
const TRay< RealType > & Ray,
const TAxisAlignedBox3< RealType > & Box,
RealType ExpandExtents
&41;
Remarks
Test if ray intersects box true if ray intersects box
Parameters
| Name | Description |
|---|---|
| Ray | query ray |
| Box | query box |
| ExpandExtents | box is expanded by this amount in each direction, useful for dealing with float imprecision |