FIntRect::Contains

Test whether this rectangle contains a point.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/IntRect.h"

Syntax

bool Contains
(
    FIntPoint Point
) const

Remarks

Test whether this rectangle contains a point.

Returns

true if the rectangle contains the specified point,, false otherwise..

Parameters

Parameter

Description

Point

The point to test against.

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