Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 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)
 {
 }
Ejemplo n.º 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;
 }