FSlateRect::ContainsPoint

Returns whether or not a point is inside the rectangle

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/SlateRect.h

Include

#include "Layout/SlateRect.h"

Syntax

bool ContainsPoint
(
    const FVector2D & Point
) const

Remarks

Returns whether or not a point is inside the rectangle

Returns

True if the point is inside the rectangle

Parameters

Parameter

Description

Point

The point to check

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