A sun visor served as a type of headwear designed to shield a person's eyes from the sun's rays, and to obscure their gaze from others.
To ready Wedge Antilles for an assassination attempt that was planned after his departure from the Five Worlds military, his wife assembled a package with a sun visor inside, so Antilles could escape without being recognized. The arms dealer known as "Gundark" was also known to wear a sun visor on occasion.