MetaFusion/Reference/SuperRiggingEditor/scripts/SGDemoHelp.mel
2025-02-03 22:58:41 +08:00

36 lines
904 B
Plaintext

//******************************************************************************
//
// 版权所有: 玉溪时光科技有限公司
// 联系邮箱: q.100@qq.com
// 开发日期: 2023/08/08
//
//******************************************************************************
global proc SGDemoHelp (string $help){
if (`window -q -ex demoHelpImageWin`)
deleteUI demoHelpImageWin;
window -t "Super Animation Demo Help" demoHelpImageWin;
string $path = `getenv "SG_PATH"`;
string $image=$path+"images/ARKit/"+$help+".png";
formLayout -w 610 -h 800 demoHelpFormLayout;
scrollLayout asDemoHelpImage;
formLayout asDemoHelpFormLayoutB;
image -i $image ;
setParent..;
setParent..;
window -e -wh 804 580 demoHelpImageWin;
formLayout -e
-af asDemoHelpImage "right" 0
-af asDemoHelpImage "left" 0
-af asDemoHelpImage "top" 0
-af asDemoHelpImage "bottom" 0
demoHelpFormLayout;
showWindow demoHelpImageWin;
}