FInputModeGameAndUI::SetLockMouseToViewportBehavior

Sets the mouse locking behavior of the viewport

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Syntax

FInputModeGameAndUI & SetLockMouseToViewportBehavior
(
    EMouseLockMode InMouseLockMode
)

Remarks

Sets the mouse locking behavior of 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