TBox2::ShiftBy

Shift bounding box position.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Box2D.h

Include

#include "Math/Box2D.h"

Syntax

TBox2< T > ShiftBy
(
    const TVector2< T > & Offset
) const

Remarks

Shift bounding box position.

Returns

A new shifted bounding box.

Parameters

Parameter

Description

The

offset vector to shift by.