A protein that protrudes from the outer envelope of the virus that allows the virus to bind to suitable receptors.