FIntRect::DivideAndRoundUp

Divides a rectangle and rounds up to the nearest integer.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/IntRect.h"

Syntax

static FIntRect DivideAndRoundUp
(
    FIntRect lhs,
    int32 Div
)

Remarks

Divides a rectangle and rounds up to the nearest integer.

Returns

New divided rectangle.

Parameters

Parameter

Description

lhs

The Rectangle to divide.

Div

What to divide by.

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