camlight
- :
h =camlight()¶ - :
h =camlight(place)¶ - :
h =camlight(az, el)¶ - :
h =camlight(…, style)¶ - :
h =camlight(hl, …)¶ - :
h =camlight(ax, …)¶ Create a light, or move one, relative to the camera of the axes.
place is
"headlight"(azimuth and elevation 0),"right"(20, 30; the default) or"left"(-20, 30); alternatively the angles az and el are given in degrees, measured from the camera position around the camera target. The style is"local"(default) or"infinite"; for an infinite light the position is a direction. When the first argument is the handle of an existing light, that light is moved instead.The light handle is returned.