public bool UpdateCamerasLocation(out StereoCameraLocation cameraLocation1, StereoCameraLocation cameraLocation0, int featureCount, StereoCameraLocation[] featureLocations1, StereoCameraLocation[] featureLocations0, StereoCameraParameters camerParam) { cameraLocation1 = new StereoCameraLocation(); return(false); }
private void LateUpdate() { StereoCameraLocation cameraLocation1; StereoCameraLocation cameraLocation0 = new StereoCameraLocation(); StereoCameraLocation[] featureLocations1 = new StereoCameraLocation[5]; StereoCameraLocation[] featureLocations0 = new StereoCameraLocation[5]; StereoCameraParameters camerParam = new StereoCameraParameters(); if (UpdateCamerasLocation(out cameraLocation1, cameraLocation0, featureLocations0.Length, featureLocations1, featureLocations0, camerParam)) { transform.position = cameraLocation1.position; transform.rotation = cameraLocation1.rotation; } }