Ejemplo n.º 1
0
        public static int ChangeDepthCase(DepthCase depthCase)
        {
            int result = ViveSR_Framework.SetCommandInt(ViveSR_Framework.MODULE_ID_DEPTH, (int)DepthCmd.CHANGE_DEPTH_CASE, (int)depthCase);

            if (result == (int)Error.WORK)
            {
                DepthCase = depthCase;
            }
            return(result);
        }
Ejemplo n.º 2
0
 public static void SetLiveMeshExtractionMode(ReconstructionLiveMeshExtractMode mode)
 {
     ViveSR_Framework.SetCommandInt(ViveSR_Framework.MODULE_ID_RIGID_RECONSTRUCTION, (int)(ReconstructionCmd.EXTRACT_VERTEX_NORMAL), (int)mode);
 }