Skip to content

Commit

Permalink
Export document
Browse files Browse the repository at this point in the history
  • Loading branch information
rexrainbow committed Nov 27, 2023
1 parent 602f9f3 commit b3b5782
Show file tree
Hide file tree
Showing 4 changed files with 405 additions and 398 deletions.
15 changes: 11 additions & 4 deletions docs/site/loading-animation-scene/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9662,16 +9662,23 @@ <h3 id="start-loading-animation-scene">Start loading animation scene<a class="he
<div class="highlight"><pre><span></span><code><span class="nx">scene</span><span class="p">.</span><span class="nx">plugins</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s1">&#39;rexLoadingAnimationScene&#39;</span><span class="p">).</span><span class="nx">startScene</span><span class="p">(</span><span class="nx">scene</span><span class="p">,</span><span class="w"> </span><span class="nx">animationSceneKey</span><span class="p">);</span>
<span class="c1">// scene.plugins.get(&#39;rexLoadingAnimationScene&#39;).startScene(scene, animationSceneKey, animationSceneData);</span>
</code></pre></div>
<ul>
<li>Will stop animationScene when preloading complete.</li>
</ul>
<p>or</p>
<p><div class="highlight"><pre><span></span><code><span class="nx">scene</span><span class="p">.</span><span class="nx">plugins</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s1">&#39;rexLoadingAnimationScene&#39;</span><span class="p">).</span><span class="nx">startScene</span><span class="p">(</span><span class="nx">scene</span><span class="p">,</span><span class="w"> </span><span class="nx">animationSceneKey</span><span class="p">,</span><span class="w"> </span><span class="nx">onLoadingComplete</span><span class="p">);</span>
<div class="highlight"><pre><span></span><code><span class="nx">scene</span><span class="p">.</span><span class="nx">plugins</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s1">&#39;rexLoadingAnimationScene&#39;</span><span class="p">).</span><span class="nx">startScene</span><span class="p">(</span><span class="nx">scene</span><span class="p">,</span><span class="w"> </span><span class="nx">animationSceneKey</span><span class="p">,</span><span class="w"> </span><span class="nx">onLoadingComplete</span><span class="p">);</span>
<span class="c1">// scene.plugins.get(&#39;rexLoadingAnimationScene&#39;).startScene(scene, animationSceneKey, animationSceneData, onLoadingComplete);</span>
</code></pre></div>
- <code>onLoadingComplete</code> : Custom task
<ul>
<li><code>onLoadingComplete</code> : Custom task
<div class="highlight"><pre><span></span><code><span class="kd">function</span><span class="p">(</span><span class="nx">finishLoading</span><span class="p">,</span><span class="w"> </span><span class="nx">animationScene</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="c1">// finishLoading();</span>
<span class="p">}</span>
</code></pre></div>
- Invoke <code>finishLoading()</code> method (later) to finish current loading progress.</p>
</code></pre></div><ul>
<li>Invoke <code>finishLoading()</code> method (later) to finish current loading progress.</li>
</ul>
</li>
</ul>



Expand Down
2 changes: 1 addition & 1 deletion docs/site/search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit b3b5782

Please sign in to comment.