Пример #1
0
        public static int UnregisterDepthCallback()
        {
            int result = ViveSR_Framework.UnregisterCallback(ViveSR_Framework.MODULE_ID_DEPTH, (int)DepthCallback.BASIC, Marshal.GetFunctionPointerForDelegate((ViveSR_Framework.CallbackBasic)DepthDataCallback));

            return(result);
        }
Пример #2
0
 public static int UnregisterReconstructionCallback()
 {
     UsingCallback = false;
     return(ViveSR_Framework.UnregisterCallback(ViveSR_Framework.MODULE_ID_RIGID_RECONSTRUCTION, (int)ReconstructionCallback.BASIC, Marshal.GetFunctionPointerForDelegate((ViveSR_Framework.CallbackBasic)ReconstructionDataCallback)));
 }
Пример #3
0
        public static int UnregisterUndistortedCallback()
        {
            int result = ViveSR_Framework.UnregisterCallback(ViveSR_Framework.MODULE_ID_SEETHROUGH, (int)SeeThroughCallback.BASIC, Marshal.GetFunctionPointerForDelegate((ViveSR_Framework.CallbackBasic)UndistortedDataCallback));

            return(result);
        }