camlight()
camlight('headlight')
camlight('left')
camlight('right')
camlight(az, el)
go = camlight(...)
camlight creates or repositions an infinite light using the current axes camera or a relative angular position.
surf(peaks(30), 'EdgeColor', 'none', 'FaceLighting', 'gouraud');
camlight('headlight');
material('shiny');
view(35, 28);
| Version | Description |
|---|---|
| 2.0.0 | initial version |