播放器打开颗粒流程
<h2>最小播放器样例</h2>
<p>为了把虚拟实验室的能力,以组件的形式提供给其它项目使用,需要给使用方提供一个示例工程,
vlab-CorePlayer就是使用Engine和Player制作的最小播放器的示例工程</p>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/88d0da739086b2f08a2c99a51a556281" alt="" /></p>
<h2>播放器初始化</h2>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/6f9d2f4bc43169d17f8acb242b38ffae" alt="" /></p>
<h2>下载颗粒</h2>
<pre><code class="language-plantuml">@startuml
start
:下载颗粒;
:解压颗粒;
:解析颗粒依赖的用品;
stop
@enduml</code></pre>
<h3>关键代码</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/0993f7750f27e6f1066443c877c78d54" alt="" /></p>
<h3>关键代码模块</h3>
<table>
<thead>
<tr>
<th>仓库</th>
<th>dll名</th>
<th>作用</th>
</tr>
</thead>
<tbody>
<tr>
<td>vlab-openlabfile</td>
<td>VLabOpenLabFile.dll</td>
<td>打开颗粒进度流程控制</td>
</tr>
</tbody>
</table>
<h2>下载颗粒依赖的用品等资源</h2>
<pre><code class="language-plantuml">@startuml
start
:下载核心组件;
:下载核心组件依赖的资源;
:下载引擎依赖的资源;
:下载引擎配置表;
:下载颗粒使用的器材和依赖;
:下载颗粒使用的药品和依赖;
stop
@enduml</code></pre>
<h3>示例日志</h3>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/e2bed9a9fb200ed4da8ba177cd7ddb5c" title="[ResourceCenterLogFile.log">ResourceCenterLogFile.log</a></p>
<h3>关键代码入口</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/f73644970d04f02894d21d6b39b234bf" alt="" /></p>
<h3>关键代码模块</h3>
<table>
<thead>
<tr>
<th>仓库</th>
<th>dll名</th>
<th>作用</th>
</tr>
</thead>
<tbody>
<tr>
<td>vlab-openlabfile</td>
<td>VLabOpenLabFile.dll</td>
<td>打开颗粒进度流程控制</td>
</tr>
<tr>
<td>vlab-resourcecenter</td>
<td>VLabOpenLabFile.dll</td>
<td>下载功能</td>
</tr>
</tbody>
</table>
<h2>打开颗粒</h2>
<pre><code class="language-plantuml">@startuml
start
:还原相机参数;
:关闭力学引擎;
:创建器材;
:开启力学引擎;
stop
@enduml</code></pre>
<h3>关键代码入口</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/6577b35c52199508878b4adf03d47d28" alt="" /></p>
<h3>关键代码模块</h3>
<table>
<thead>
<tr>
<th>仓库</th>
<th>dll名</th>
<th>作用</th>
</tr>
</thead>
<tbody>
<tr>
<td>vlab-labmodel</td>
<td>LabModel_2_0_0.dll,LabDataConvert.dll</td>
<td>颗粒文件数据模型</td>
</tr>
<tr>
<td>vlab-playercore</td>
<td>VLabPlayerCore.dll</td>
<td>实验用品管理</td>
</tr>
<tr>
<td>vlab-playercoreac</td>
<td>ASEVLabGameMgr.dl,SRVLAdapterVLab.dll</td>
<td>与Lua的通信接口</td>
</tr>
</tbody>
</table>