SWindow::GetLocalToWindowTransform

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

FSlateLayoutTransform GetLocalToWindowTransform() const

Returns

the transform from local space to window space, which is basically desktop space without the offset. Essentially contains the DPI scale.