setplotlight

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
Introduced first in SolidGeometry 3.9, Creation date: 2017-06-16, Last change: 2025-09-14

changes the alpha value of a given graphics object handle

Description

Similar to VLFLplotlight, but sets the parameter individually for a patch handle
In case of just setting the alpha values use: alpha

See Also: , VLFLplotlight , rotate3dlight

Example Illustration

 missing image of setplotlight(hi,col,alpha);

Syntax

setplotlight(hi,[col,alpha]);

Input Parameter

hi: patch handle
col: color value or letter; optional
alpha: alpha index

Examples


SGfigure; [~,~,h]=SGsurfaceplot(SGsample(20)); view(-30,30);
setplotlight(h,'',0.4); show
setplotlight(h,'b',0.4); show





Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21