FHUDHitBox::Contains

Are the given coordinates within this hitbox.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/HUDHitBox.h

Include

#include "GameFramework/HUDHitBox.h"

Source

/Engine/Source/Runtime/Engine/Private/GameFramework/HUDHitBox.cpp

Syntax

bool Contains
(
    FVector2D InCoords
) const

Remarks

Are the given coordinates within this hitbox.

Returns

true if coordinates are within this hitbox.

Parameters

Parameter

Description

InCoords

Coordinates 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