camlight
Create or position a light relative to the camera.
📝Syntax
camlight()
camlight('headlight')
camlight('left')
camlight('right')
camlight(az, el)
go = camlight(...)
📄Description

camlight creates or repositions an infinite light using the current axes camera or a relative angular position.

💡Examples
surf(peaks(30), 'EdgeColor', 'none', 'FaceLighting', 'gouraud');
camlight('headlight');
material('shiny');
view(35, 28);
Example illustration
🔗See Also
lightlightangle
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub