Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Checks whether the given location is inside this box.
This function assumes boxes have open bounds, i.e. points lying on the border of the box are not inside. Use IsPointInBox_Box to include borders in the test.
| Name | Box_IsPointInside |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
| Include Path | #include "Kismet/KismetMathLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Math|Box", Meta=(DisplayName="Is Vector Inside (Box)"))
static bool Box_IsPointInside
(
const FBox & Box,
const FVector & Point
)
true if location is inside this volume.
Parameters
| Name | Remarks |
|---|---|
| Box | The box to test |
| Point | The location to test for inside the bounding volume. |