器材快捷创建-说明文档
<table>
<thead>
<tr>
<th>最后更新日期</th>
<th>2024-03-6</th>
</tr>
</thead>
<tbody>
<tr>
<td>作者</td>
<td>QFord、LJX、ZYY</td>
</tr>
<tr>
<td>V1.0.0</td>
<td>创建文档</td>
</tr>
</tbody>
</table>
<p>[toc]</p>
<h1>概述</h1>
<p>提供获取服务端器材列表,获取Lab文件器材列表和保存,加载Lab文件的能力。</p>
<h1>介绍</h1>
<h2>快捷菜单开启/关闭</h2>
<pre><code>TOOL =&gt; 物件播放器 =&gt; 快捷创建工具</code></pre>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=2a326f150cb66d6e99728009babaf2f5&amp;file=file.png" alt="" /></p>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=caa11d350c8b1e205d6ced82b263c3a1&amp;file=file.png" alt="" /></p>
<h3>显示UI</h3>
<pre><code>点击&quot;显示快捷器材UI&quot;,在屏幕右边会弹出快捷创建UI。UI分为了三部分
(1)获取开发管理平台的器材和药品数据
(2)解析指定的Lab文件
(3)保存和打开场景</code></pre>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=c2506ffdb87309e769b935f4ca4a176c&amp;file=file.png" alt="" /></p>
<h3>(1)获取管理平台器材列表并查询器材</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=37406e087edab2b027407131b0b07213&amp;file=file.png" alt="" /></p>
<pre><code>这部分的UI功能是获取开发管理平台器材信息,并支持用户搜索和创建</code></pre>
<h4>下拉查找器材</h4>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=03bafeea638764f92230e233719f58aa&amp;file=file.png" alt="" /></p>
<h4>搜索查找器材</h4>
<pre><code>目前支持汉字或者拼音搜索器材</code></pre>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=d60d3ab82d8959706728e6f85cceb14d&amp;file=file.png" alt="" /></p>
<h4>选中并创建器材</h4>
<pre><code>选中器材后会在输入框中显示器材结果,点击创建器材</code></pre>
<p><span style="color: red;">注意:成功创建器材需要本地已经下载过该器材</span>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=0a692f9169ed03876023f318b4fa77e2&amp;file=file.png" alt="" /></p>
<h3>(2)读取指定的Lab文件,并解析和现实文件中的器材</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=6607d149edf4ae1084293c976f547402&amp;file=file.png" alt="" /></p>
<h4>读取lab文件</h4>
<p>没有选择lab文件时,下拉框时没有器材显示的
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=25d42bb6cad08a6385fe898ca8eeffcc&amp;file=file.png" alt="" /></p>
<p>点击选取lab文件按钮,弹出窗口
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=330ca2f2c24ba0e965e43b12d7179073&amp;file=file.png" alt="" /></p>
<p>文本窗口会显示器材的路径,同时下拉框中会显示lab文件的器材列表
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=03a301f8db7efae7a26098cb00f6908a&amp;file=file.png" alt="" /></p>
<p>点击创建Lab器材,可以创建选中的器材</p>
<h3>保存和打开场景</h3>
<h4>保存场景</h4>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=9e380324f7222cda94a502238b1ac48a&amp;file=file.png" alt="" /></p>
<pre><code>1.点击保存场景器材按钮,弹出保存窗口</code></pre>
<h4>打开场景</h4>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=73a39265002a0517e9df05fe43f490fc&amp;file=file.png" alt="" /></p>
<pre><code>1.点击读取场景器材按钮,弹出窗口
2.选中lab文件,可以恢复器材保存时的状态,包括位置信息和拼接状态</code></pre>
<h3>关闭UI</h3>
<pre><code>点击&quot;关闭快捷器材UI&quot;,可以隐藏UI</code></pre>
<h1>打开场景时的还原</h1>
<pre><code>点击保存场景器材按钮后,下一次在进入场景时会自动还原保存的内容</code></pre>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=af15c8b9f7029f5107353b30725a6d9a&amp;file=file.png" alt="" /></p>