UKismetMathLibrary::IsPointInBoxWithTransform

Determines whether a given point is in a box with a given transform. 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 IsPointInBoxWithTransform
(
    FVector Point,
    const FTransform & BoxWorldTransform,
    FVector BoxExtent
)

Remarks

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

Returns

Whether the point is in the box.

Parameters

Parameter

Description

Point

Point to test

BoxWorldTransform

Component-to-World transform of the box.

BoxExtent

Extents of the box (distance in each axis from origin), in component space.

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