FHittestGrid::SetHittestArea

Set the position and size of the hittest area in desktop coordinates

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/HittestGrid.h

Include

#include "Input/HittestGrid.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Input/HittestGrid.cpp

Syntax

bool SetHittestArea
(
    const FVector2D & HittestPositionInDesktop,
    const FVector2D & HittestDimensions,
    const FVector2D & HitestOffsetInWindow
)

Remarks

Set the position and size of the hittest area in desktop coordinates

Returns

Returns true if a clear of the hittest grid was required.

Parameters

Parameter

Description

HittestPositionInDesktop

The position of this hit testing area in desktop coordinates.

HittestDimensions

The dimensions of this hit testing area.

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