class MAGES::StubDeviceManager¶
Overview¶
Stub class for device manager module. More…
class StubDeviceManager: public MAGES::DeviceManagerModule { public: // properties override GameObject RigPrefab; // methods override void Startup(); override void Shutdown(); };
Inherited Members¶
public: // enums enum CameraMode; enum Device; // properties int Version; IDriver ActiveDriver; IDriver DriverOverride; UnityEvent<DriverChangeEventArgs> OnDriverChanged; UnityEvent<DriverEvent> OnDriverEvent; CameraMode CurrentMode; float CameraHeight; GameObject MobileNavigationUI; IInteractionActions InteractionActions; ILocomotionActions LocomotionActions; IGenericInputActions GenericActions; IMobile3DActions Mobile3DActions; GameObject CameraGameObject; GameObject CameraRig; GameObject LeftController; Transform LeftControllerOffset; GameObject RightController; Transform RightControllerOffset; Camera CameraRef; GameObject RigPrefab; // methods void Startup(); void Shutdown(); virtual void UpdateModule(UpdatePhase updatePhase); virtual bool TrySendHapticImpulse( Device device, float intensity = 0.8f, float duration = 0.1f ); virtual bool IsDeviceAvailable(Device device); virtual bool SendHapticPulse( string controllerSide, float intensity, float duration = 0.1f ); virtual bool IsXRControllerAvailable(string controllerName);
Detailed Documentation¶
Stub class for device manager module.
Properties¶
override GameObject RigPrefab
Gets the prefab that is used to represent a rig.
Methods¶
override void Startup()
Startup device manager (stub).
override void Shutdown()
Shutdown device manager (stub).