UKismetMathLibrary::IsPointInBox

Determines whether the given point is in a box. Includes points on the box.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp

Syntax

static bool IsPointInBox
(
    FVector Point,
    FVector BoxOrigin,
    FVector BoxExtent
)

Remarks

Determines whether the given point is in a box. Includes points on the box.

Returns

Whether the point is in the box.

Parameters

Parameter

Description

Point

Point to test

BoxOrigin

Origin of the box

BoxExtent

Extents of the box (distance in each axis from origin)

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