/// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="trackingState"></param>
 /// <param name="controllerHandedness"></param>
 /// <param name="controllerType"></param>
 /// <param name="nodeType"></param>
 /// <param name="inputSource"></param>
 /// <param name="interactions"></param>
 public BaseOculusController(
     TrackingState trackingState,
     Handedness controllerHandedness,
     OculusApi.Controller controllerType,
     OculusApi.Node nodeType,
     IMixedRealityInputSource inputSource          = null,
     MixedRealityInteractionMapping[] interactions = null)
     : base(trackingState, controllerHandedness, inputSource, interactions)
 {
     ControllerType = controllerType;
     NodeType       = nodeType;
 }
Beispiel #2
0
 /// <inheritdoc />
 public OculusTouchController(IMixedRealityControllerDataProvider controllerDataProvider, TrackingState trackingState, Handedness controllerHandedness, MixedRealityControllerMappingProfile controllerMappingProfile, OculusApi.Controller controllerType = OculusApi.Controller.None, OculusApi.Node nodeType = OculusApi.Node.None)
     : base(controllerDataProvider, trackingState, controllerHandedness, controllerMappingProfile, controllerType, nodeType)
 {
 }
Beispiel #3
0
 /// <inheritdoc />
 protected BaseOculusController(IMixedRealityControllerDataProvider controllerDataProvider, TrackingState trackingState, Handedness controllerHandedness, MixedRealityControllerMappingProfile controllerMappingProfile, OculusApi.Controller controllerType = OculusApi.Controller.None, OculusApi.Node nodeType = OculusApi.Node.None)
     : base(controllerDataProvider, trackingState, controllerHandedness, controllerMappingProfile)
 {
     ControllerType = controllerType;
     NodeType       = nodeType;
 }