UxrKeyboardInput.GetPressed Method

Gets if a given keyboard key is being pressed.

Namespace: UltimateXR.Devices.Keyboard
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static bool GetPressed(
	UxrKey key
)

Parameters

 

key
Type: UltimateXR.Devices.Keyboard.UxrKey
The key to check

Return Value

Type: Boolean
Whether the key is being pressed

See Also

Reference

UxrKeyboardInput Class
UltimateXR.Devices.Keyboard Namespace