Both XY and Z tolerances are set with respect to distance to the camera plane.