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); }
public static void SetLiveMeshExtractionMode(ReconstructionLiveMeshExtractMode mode) { ViveSR_Framework.SetCommandInt(ViveSR_Framework.MODULE_ID_RIGID_RECONSTRUCTION, (int)(ReconstructionCmd.EXTRACT_VERTEX_NORMAL), (int)mode); }