FViewportClient::LockDuringCapture

Gets whether or not the cursor is locked to the viewport when the viewport captures the mouse

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FViewportClient::LockDuringCapture()

UGameViewportClient::LockDuringCapture()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealClient.h

Include

#include "UnrealClient.h"

Syntax

virtual bool LockDuringCapture()

Remarks

Gets whether or not the cursor is locked to the viewport when the viewport captures the mouse