TIntrRay3AxisAlignedBox3::TestIntersection

Test if ray intersects box

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 TestIntersection
(
    const TRay3< RealType > & Ray,
    const TAxisAlignedBox3< RealType > & Box,
    RealType ExpandExtents
)

Remarks

Test if ray intersects box

Returns

true if ray intersects box

Parameters

Parameter

Description

Ray

query ray

Box

query box

ExpandExtents

box is expanded by this amount in each direction, useful for dealing with float imprecision

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