IDesktopControlsHost
csharp
public interface IDesktopControlsHostNamespace NodeWorld.SDK.Client.XR.
What the desktop controls ask of the application around the player: the client, or the Play mode of a world.
Properties
InWorld
csharp
bool InWorld { get; }The player is in a world: the mouse turns the view (out of it, at login or while loading, the mouse points).
MenuOpen
csharp
bool MenuOpen { get; }The menu, or another window of the application, is open on the screen: the mouse points at it, and nothing behind it (the world, its panels) gets the mouse.
CameraOut
csharp
bool CameraOut { get; }The camera is out in front of the view: the left click takes the photo, and the world does not get it.
Methods
ToggleMicrophone
csharp
void ToggleMicrophone()V: the microphone is muted, or speaks again.
Respawn
csharp
void Respawn()Shift+R, in a world: back to the world's spawn point (the client asks first).
ToggleCamera
csharp
void ToggleCamera()P, in a world: takes the camera out, or puts it away.
