public void SetUpHandModule() { /* Set Module */ handModule = HandModule.Activate(manager.SenseManager); if (handModule == null) { manager.SetStatus("Failed Loading Module"); manager.Stop = true; return; } HandConfiguration = handModule.CreateActiveConfiguration(); if (HandConfiguration == null) { manager.SetStatus("Failed Create Configuration"); manager.Stop = true; return; } handData = handModule.CreateOutput(); if (handData == null) { manager.SetStatus("Failed Create Output"); HandConfiguration.Dispose(); manager.Stop = true; return; } HandConfiguration.TrackingMode = TrackingModeType.TRACKING_MODE_FULL_HAND; HandConfiguration.TrackedJointsEnabled = true; HandConfiguration.EnableJointSpeed(JointType.JOINT_INDEX_TIP, JointSpeedType.JOINT_SPEED_ABSOLUTE, 20); HandConfiguration.StabilizerEnabled = true; HandConfiguration.EnableAllAlerts(); HandConfiguration.SegmentationImageEnabled = false; HandConfiguration.SmoothingValue = 1; // The value is from 0(not smoothed) to 1(smoothed motion). HandConfiguration.ApplyChanges(); }