FAxisAlignedBox2i

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/IntBoxTypes.h

Include

#include "IntBoxTypes.h"

Syntax

struct FAxisAlignedBox2i

Variables

Name Description

Public variable

FVector2i

 

Max

Public variable

FVector2i

 

Min

Constructors

Name Description

Public function

FAxisAlignedBox2i()

Public function

FAxisAlignedBox2i

(
    const FAxisAlignedBox2i& OtherBox
)

Public function

FAxisAlignedBox2i

(
    int32 SquareSize
)

Public function

FAxisAlignedBox2i

(
    const FVector2i& Min,
    const FVector2i& Max
)

Public function

FAxisAlignedBox2i

(
    int32 Width,
    int32 Height
)

Functions

Name Description

Public function Static

FAxisAligned...

 

Empty()

Public function

void

 

Expand

(
    int32 Radius
)

Public function Const

FVector2i

 

GetCorner

(
    int Index
)

Corners are ordered to follow the perimeter of the bounding rectangle, starting from the (Min.X, Min.Y) corner and ending at (Min.X, Max.Y)

Public function Const

bool

 

IsEmpty()