DesktopPointerKey
csharp
public sealed class DesktopPointerKeyNamespace NodeWorld.SDK.Client.XR.
Tab on desktop frees the mouse to point and click at things (client and Play mode): a short press toggles it, holding the key keeps it free while held. The key is read through the TypingGate, so a press made while typing in a text field does nothing.
Constants
ShortPress
csharp
public const float ShortPress = 0.3fLongest press that toggles (s); the same as the menu of La Guinguette (LG_Menu.appuiBref).
Properties
Active
csharp
public bool Active { get; }The mouse is free: toggled on, or the key is held.
Methods
Update
csharp
public bool Update(bool keyPressed)Reads the key (as the game sees it) once per frame; returns Active.
Release
csharp
public void Release()Back to the locked mouse (the player left the world).
