Line of sight Actor

Has anyone attempted to create the line of sight actor that can be placed in world terrain and based on the elevation profile it will render the overlay.

Kindly guide us as to how can we achieve this.

TIA