Provided are a structured light projector for generating and irradiating structured light and an electronic device including the same. A pattern mask of the structured light projector comprises: a reflective pattern having an inclined reflective surface that reflects illumination light obliquely; and a light transmitting slit for transmitting the illumination light, wherein structural light formed by passing through the pattern mask is determined by the shape of the bottom of the reflective pattern and the shape of the light transmitting slit.
展开▼