FHittestGrid::SetHittestArea

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

Choose your operating system:

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.