The dependence of the electro‐optic effect on electric field distribution and light beam propagation direction