void ComputeAndShowCamera( ) { CLViewpoint result = psoSolver.SearchOptimal(solverTime, 0.999f, camLibCam, new List <CLCandidate> (), false, true); Debug.Log("Satisfaction after " + psoSolver.iterations + " iterations: " + result.satisfaction [0] + ", best iteration: " + psoSolver.iterOfBest); // update camera with found solution camLibCam.updateCamera(result.psoRepresentation); }