FSlateApplicationBase::CalculateTooltipWindowPosition

Calculates the tooltip window position.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateApplicationBase::CalculateTooltipWindowPosition()

FSlateApplication::CalculateTooltipWindowPosition()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h

Include

#include "Application/SlateApplicationBase.h"

Syntax

FVector2D CalculateTooltipWindowPosition
(
    const FSlateRect & InAnchorRect,
    const FVector2D & InSize,
    bool bAutoAdjustForDPIScale
) const

Remarks

Calculates the tooltip window position.

Returns

The suggested position.

Parameters

Parameter

Description

InAnchorRect

The current(suggested) window position and size of an area which may not be covered by the popup.

InSize

The size of the tooltip window.