FIntRect::Scale

Scales a rectangle using a floating point number.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/IntRect.h"

Syntax

FIntRect Scale
(
    float Fraction
) const

Remarks

Scales a rectangle using a floating point number.

Returns

New scaled rectangle.

Parameters

Parameter

Description

Fraction

What to scale the rectangle 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