Class WindowsMRInput
Extension methods for XRInputSubsystem specific to WindowsMR
Namespace: UnityEngine.XR.WindowsMR
Syntax
public static class WindowsMRInput : object
Methods
GetCurrentSourceStates(XRInputSubsystem, List<System.Object>)
Get the state of all input sources.
Declaration
public static void GetCurrentSourceStates(this XRInputSubsystem input, List<System.Object> states)
Parameters
Type | Name | Description |
---|---|---|
XRInputSubsystem | input | InputSubsystem reference |
List<System.Object> | states | List of states for the input sources. |
GetSpatialLocatability(XRInputSubsystem)
Get the Spatial Locatability type for Windows MR Input
Declaration
public static NativeTypes.SpatialLocatability GetSpatialLocatability(this XRInputSubsystem input)
Parameters
Type | Name | Description |
---|---|---|
XRInputSubsystem | input | InputSubsystem reference |
Returns
Type | Description |
---|---|
NativeTypes.SpatialLocatability | SpatialLocatability type |