/// <inheritdoc/> void IMixedRealityHandMeshHandler.OnHandMeshUpdated(InputEventData <HandMeshInfo> eventData) { using (OnHandMeshUpdatedPerfMarker.Auto()) { if (eventData.InputSource.SourceId != Controller.InputSource.SourceId || eventData.Handedness != Controller.ControllerHandedness) { return; } lastHandMeshInfo = eventData.InputData; eventData.Use(); } }
/// <inheritdoc/> void IMixedRealityHandJointHandler.OnHandJointsUpdated(InputEventData <IDictionary <TrackedHandJoint, MixedRealityPose> > eventData) { using (OnHandJointsUpdatedPerfMarker.Auto()) { if (eventData.InputSource.SourceId != Controller.InputSource.SourceId || eventData.Handedness != Controller.ControllerHandedness) { return; } handJointsUpdated = true; eventData.Use(); } }