a viewport info detector.