Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include | #include "Math/UnrealMathUtility.h" |
Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static int32 PlaneAABBRelativePosition
&40;
const FPlane & P,
const FBox & AABB
&41;
Remarks
Determine the position of an AABB relative to a plane: completely above (in the direction of the normal of the plane), completely below or intersects it -1 if below, 1 if above, 0 if intersects
Parameters
Name | Description |
---|---|
P | the plane to test |
AABB | the axis aligned bounding box to test |