A protein that forms a large structure known as a spike or peplomer projecting from the surface of an enveloped virus.  The proteins are usually glycoproteins that form dimers or trimers. Spikes typically have a role in viral entry. They may interact with cell-surface receptors located on the host cell and may have hemagglutinating activity as a result, or in other cases they may be enzymes.