UGameViewportClient::ShouldAlwaysLockMouse

Gets whether or not the cursor should always be locked to the viewport

Windows
MacOS
Linux

Override Hierarchy

FViewportClient::ShouldAlwaysLockMouse()

UGameViewportClient::ShouldAlwaysLockMouse()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Syntax

virtual bool ShouldAlwaysLockMouse()

Remarks

Gets whether or not the cursor should always be locked to the viewport

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