DeviceControllerFactory
A static class in Root.Township, the global namespace.
Creates the XR device controller for a player mode (fly cam, auto cam, OpenXR, SteamVR). Called by PlatformDriver when the mode changes.
- Listed in Global namespace: C to D
Methods
| Member | What it is |
|---|---|
static IXrDeviceSdkController Create(PlayerMode mode) | Returns the device controller for the mode; throws for an unknown mode. |
2 private and internal methods
| Member | What it is |
|---|---|
private static IXrDeviceSdkController GetAndroidController() | Throws NotSupportedException; there is no Quest or Pico controller in this build. |
private static IXrDeviceSdkController GetSteamVRController() | Returns a new SteamVRDeviceController. |