Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > 6e2327ca1c896c6d674ae53117299f21 > files > 1042

qtdeclarative5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickparticlesystem.cpp -->
  <title>ParticleSystem QML Type | Qt Quick 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtquick-index.html">Qt Quick</a></td><td ><a href="qtquick-qmlmodule.html">QML Types</a></td><td >ParticleSystem QML Type</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtquick-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ParticleSystem QML Type</h1>
<span class="subtitle"></span>
<!-- $$$ParticleSystem-brief -->
<p>A system which includes particle painter, emitter, and affector types. <a href="#details">More...</a></p>
<!-- @@@ParticleSystem -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtQuick.Particles 2.12</td></tr></table></div><ul>
<li><a href="qml-qtquick-particles-particlesystem-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#empty-prop">empty</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#particleStates-prop">particleStates</a></b></b> : list&lt;Sprite&gt;</li>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#paused-prop">paused</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#running-prop">running</a></b></b> : bool</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#pause-method">pause</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#reset-method">reset</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#restart-method">restart</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#resume-method">resume</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#start-method">start</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-particles-particlesystem.html#stop-method">stop</a></b></b>()</li>
</ul>
<!-- $$$ParticleSystem-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<!-- @@@ParticleSystem -->
<h2>Property Documentation</h2>
<!-- $$$empty -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="empty-prop">
<td class="tblQmlPropNode"><p>
<a name="empty-prop"></a><span class="name">empty</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>empty is set to true when there are no live particles left in the system.</p>
<p>You can use this to pause the system, keeping it from spending any time updating, but you will need to resume it in order for additional particles to be generated by the system.</p>
<p>To kill all the particles in the system, use an Age affector.</p>
</div></div><!-- @@@empty -->
<br/>
<!-- $$$particleStates -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="particleStates-prop">
<td class="tblQmlPropNode"><p>
<a name="particleStates-prop"></a><span class="name">particleStates</span> : <span class="type">list</span>&lt;<span class="type"><a href="qml-qtquick-sprite.html">Sprite</a></span>&gt;</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>You can define a sub-set of particle groups in this property in order to provide them with stochastic state transitions.</p>
<p>Each <a href="qml-qtquick-sprite.html">QtQuick::Sprite</a> in this list is interpreted as corresponding to the particle group with the same name. Any transitions defined in these sprites will take effect on the particle groups as well. Additionally TrailEmitters, Affectors and <a href="qtquick-effects-particles.html#particlepainters">ParticlePainters</a> defined inside one of these sprites are automatically associated with the corresponding particle group.</p>
</div></div><!-- @@@particleStates -->
<br/>
<!-- $$$paused -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="paused-prop">
<td class="tblQmlPropNode"><p>
<a name="paused-prop"></a><span class="name">paused</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>If paused is set to true, the particle system will not advance the simulation. When paused is set to false again, the simulation will resume from the same point it was paused.</p>
<p>The simulation will automatically pause if it detects that there are no live particles left, and unpause when new live particles are added.</p>
<p>It can also be controlled with the <a href="qml-qtquick-particles-particlesystem.html#pause-method">pause()</a> and <a href="qml-qtquick-particles-particlesystem.html#resume-method">resume()</a> methods.</p>
</div></div><!-- @@@paused -->
<br/>
<!-- $$$running -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="running-prop">
<td class="tblQmlPropNode"><p>
<a name="running-prop"></a><span class="name">running</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>If running is set to false, the particle system will stop the simulation. All particles will be destroyed when the system is set to running again.</p>
<p>It can also be controlled with the <a href="qml-qtquick-particles-particlesystem.html#start-method">start()</a> and <a href="qml-qtquick-particles-particlesystem.html#stop-method">stop()</a> methods.</p>
</div></div><!-- @@@running -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$pause -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pause-method">
<td class="tblQmlFuncNode"><p>
<a name="pause-method"></a><span class="name">pause</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Pauses the simulation if it is running.</p>
<p><b>See also </b><a href="qml-qtquick-particles-particlesystem.html#resume-method">resume</a> and <a href="qml-qtquick-particles-particlesystem.html#paused-prop">paused</a>.</p>
</div></div><!-- @@@pause -->
<br/>
<!-- $$$reset -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="reset-method">
<td class="tblQmlFuncNode"><p>
<a name="reset-method"></a><span class="name">reset</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Discards all currently existing particles.</p>
</div></div><!-- @@@reset -->
<br/>
<!-- $$$restart -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="restart-method">
<td class="tblQmlFuncNode"><p>
<a name="restart-method"></a><span class="name">restart</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Stops the simulation if it is running, and then starts it.</p>
<p><b>See also </b><a href="qml-qtquick-particles-particlesystem.html#start-method">start</a>, <a href="qml-qtquick-particles-particlesystem.html#stop-method">stop</a>, and <a href="qml-qtquick-particles-particlesystem.html#running-prop">running</a>.</p>
</div></div><!-- @@@restart -->
<br/>
<!-- $$$resume -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="resume-method">
<td class="tblQmlFuncNode"><p>
<a name="resume-method"></a><span class="name">resume</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Resumes the simulation if it is paused.</p>
<p><b>See also </b><a href="qml-qtquick-particles-particlesystem.html#pause-method">pause</a> and <a href="qml-qtquick-particles-particlesystem.html#paused-prop">paused</a>.</p>
</div></div><!-- @@@resume -->
<br/>
<!-- $$$start -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="start-method">
<td class="tblQmlFuncNode"><p>
<a name="start-method"></a><span class="name">start</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Starts the simulation if it has not already running.</p>
<p><b>See also </b><a href="qml-qtquick-particles-particlesystem.html#stop-method">stop</a>, <a href="qml-qtquick-particles-particlesystem.html#restart-method">restart</a>, and <a href="qml-qtquick-particles-particlesystem.html#running-prop">running</a>.</p>
</div></div><!-- @@@start -->
<br/>
<!-- $$$stop -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="stop-method">
<td class="tblQmlFuncNode"><p>
<a name="stop-method"></a><span class="name">stop</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Stops the simulation if it is running.</p>
<p><b>See also </b><a href="qml-qtquick-particles-particlesystem.html#start-method">start</a>, <a href="qml-qtquick-particles-particlesystem.html#restart-method">restart</a>, and <a href="qml-qtquick-particles-particlesystem.html#running-prop">running</a>.</p>
</div></div><!-- @@@stop -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>