//-------------------------------------------------------------------- // Private Functions //-------------------------------------------------------------------- private void SyncData() { if (_updatedInFrame) { return; } _updatedInFrame = true; var result = Interop.Update(); if (result) { _gazePointDataProvider.Update(); _headPoseDataProvider.Update(); } }
public IDataProvider <HeadPose> GetHeadPoseDataProvider() { Update(); _headPoseDataProvider.Update(); return(_headPoseDataProvider); }