This commit is contained in:
2025-11-23 23:31:18 +08:00
parent d60cdc52fd
commit 9f7667a475
710 changed files with 252869 additions and 6 deletions

View File

@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html>
<head>
<title>设置命名空间</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="namespace" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
body { margin: 0px; background: #F8F8F8; }
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript" src="helpman_topicinit.js"></script>
<script type="text/javascript">
HMSyncTOC("index.html", "setnamespace.htm");
</script>
<script type="text/javascript" src="highlight.js"></script>
<script type="text/javascript">
$(document).ready(function(){highlight();});
</script>
</head>
<body>
<table style="width:100%; border:none; border-spacing:0px; padding:0px; background:#D0D0D0">
<tr style="vertical-align:middle">
<td style="text-align:right">
<a href="welcome.htm"><img border="0" src="../common/images/MGtoolsHelp_Home.gif" width="34" height="22" alt="Home" /></a>&nbsp;
<a href="loadpicker.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="viewportmanipulation.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a>
</td>
</tr>
</table>
<!-- Placeholder for topic body. -->
<table style="width:100%;border:none;border-spacing:0px"><tr style="vertical-align:top"><td style="text-align:left;padding:5px">
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;"> 设置当前picker的命名空间</span></p><p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">命名空间是当前Picker的Namespace即前缀名。改变这个前缀名使你可以将Picker在所有其它命名类似的角色上使用。</span></p>
<p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; font-weight: bold;">-设置命名空间的两种方式:</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">1.</span><span style="font-size: 9pt;">直接在动画师模式下的命名空间输入框里输入。 Ctrl+Alt+Shfit+S快捷键则可以快速激活输入框。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">2.</span><span style="font-size: 9pt;">选择reference角色的任一部分点击</span><img alt="fetchNamespaceBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="fetchnamespacebtn.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 9pt;">按钮..</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">Sub-Namespace(次命名空间):</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">大部分类型的picker对象都支持一个叫sub-namespace(次命名空间)的属性,(具体是这些类型: 选择按钮,命令按钮,属性按钮,滑条)</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">次命名空间是对picker所用命名空间的追加。比如您的picker 命名空间被设置为&quot;myCharacter&quot;, 有一个选择按钮的次命名空间设置为&quot;bodyRig:chestRig&quot;, 这个选择按钮含有一个成员控制器叫&quot;chest_ctl&quot;,那么这个控制器最终将被解释成:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block">&nbsp;</span><span style="color: #ff0000;">myCharacter:bodyRig:chestRig:chest_ctl;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">这意味着在动画师模式下您点击这个选择按钮它将试图在您的Maya场景里选择一个叫&quot;myCharacter:bodyRig:chestRig:chest_ctl&quot;的物体.</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">支持命名空间,次命名空间及节点名称本身间的连接字符窜:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">v 2.3后,用户可以自定义这些连接字符窜。比如命名空间,次命名空间的连接符均设置为&quot;_&quot;,则上面的例子将变成:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block">&nbsp;</span><span style="color: #ff0000;">myCharacter_bodyRig:chestRig_chest_ctl;</span></p>
</td></tr></table>
<table height="30" width="100%" border="0" cellspacing="" cellpadding="0" bgcolor="#D0D0D0">
<tr valign="bottom" bgcolor="#D0D0D0" >
<td align="left" valign="middle" >
<a href="welcome.htm"><img border="0" src="../common/images/MGtoolsHelp_Home.gif" width="34" height="22" alt="Home" /></a>
<a href="loadpicker.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="viewportmanipulation.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>