2024-04-26 02:29:52 发布
网友
我想知道在哪里可以找到doMenuComponentSelection()方法的源代码。谢谢
我搜索了玛雅文件,但找不到。我只想看看这个方法的来源
我在github上找到了方法https://github.com/elrond79/mayaSettings/blob/master/2009-x64/zooScripts/dagMenuProc.mel#L977
global proc doMenuComponentSelection(string $item, string $mask) // // Changes the selection/display state on this object to allow // selection of the specified selection mask type. { string $selectCmd; if (`selectMode -q -object`) { hilite $item; selectType -ocm -alc false; $selectCmd = "selectType -ocm -" + $mask + " true;"; } else { selectType -ocm -alc false; $selectCmd = "selectType -" + $mask + " true;"; if (!`selectMode -q -preset`) { $selectCmd = $selectCmd + "hilite " + $item + ";"; } } eval $selectCmd; }
我在github上找到了方法https://github.com/elrond79/mayaSettings/blob/master/2009-x64/zooScripts/dagMenuProc.mel#L977
相关问题 更多 >
编程相关推荐