public HPMotionController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null) : base(trackingState, controllerHandedness, inputSource, interactions) { #if HP_CONTROLLER_ENABLED InputHandler = new HPMotionControllerInputHandler(controllerHandedness, inputSource, Interactions); #endif controllerDefinition = new HPMotionControllerDefinition(inputSource, controllerHandedness); }
/// <summary> /// Constructor. /// </summary> public HPMotionController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null) : base(trackingState, controllerHandedness, inputSource, interactions) { controllerDefinition = new HPMotionControllerDefinition(inputSource, controllerHandedness); }