Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > c936229ef0138f42857f36beadbeda30 > files > 160

qt3d5-doc-5.12.2-2.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" />
<!-- qquaternionanimation.cpp -->
  <title>QuaternionAnimation QML Type | Qt 3D 5.12.2</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="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-qml.html">QML Types</a></td><td >QuaternionAnimation QML Type</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qt3d-index.html">Qt 5.12.2 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="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QuaternionAnimation QML Type</h1>
<span class="subtitle"></span>
<!-- $$$QuaternionAnimation-brief -->
<p>A PropertyAnimation for quaternions. <a href="#details">More...</a></p>
<!-- @@@QuaternionAnimation -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import Qt3D.Core 2.12</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.6</td></tr></table></div><ul>
<li><a href="qml-qt3d-core-quaternionanimation-members.html">List of all members, including inherited members</a></li>
</ul>
<!-- $$$QuaternionAnimation-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>A specialized PropertyAnimation that defines an animation between two quaternions.</p>
<p>By default spherical linear interpolation is used. This can be changed to the faster but less accurate normalized linear interpolation by setting the <i>type</i> property.</p>
<p>Instead of specifying quaternions directly in the <i>from</i> and <i>to</i> properties, it is also possible to provide euler angles in degrees in the <i>fromXRotation</i>, <i>toXRotation</i>, <i>fromYRotation</i>, <i>toYRotation</i>, <i>fromZRotation</i>, <i>toZRotation</i> properties.</p>
<p><b>Note: </b>Avoid mixing the quaternion and euler angle-based properties. The from and to values are expected to be fully specified either via a quaternion or the three euler angles.</p><p><b>See also </b>Animation and Transitions in Qt Quick, QQuaternion, QQuaternion::slerp(), and QQuaternion::nlerp().</p>
<!-- @@@QuaternionAnimation -->
        </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>