private static bool SetColliderRangeEnable(bool value) { int result = SRWorkModule_API.SetDepthMeshParameterBool((int)DepthCmd.ENABLE_SELECT_MESH_DISTANCE_RANGE, value); if (result == (int)Error.WORK) { _UpdateDepthColliderRange = value; return(true); } return(false); }
public static bool SetDepthColliderHoleFillingEnable(bool value) { int result = SRWorkModule_API.SetDepthMeshParameterBool((int)DepthCmd.ENABLE_DEPTH_MESH_HOLE_FILLING, value); if (result == (int)Error.WORK) { _UpdateDepthColliderHoleFilling = value; return(true); } return(false); }