public static int EnableDepthProcess(bool active) { int result = ViveSR_Framework.ChangeModuleLinkStatus(ViveSR_Framework.MODULE_ID_SEETHROUGH, ViveSR_Framework.MODULE_ID_DEPTH, active ? (int)WorkLinkMethod.ACTIVE : (int)WorkLinkMethod.NONE); if (result == (int)Error.WORK) { DepthProcessing = active; } return(result); }