FIntRect::Contains

Test whether this rectangle contains a point.

Choose your operating system:

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.