Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > c936229ef0138f42857f36beadbeda30 > files > 682

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" />
<!-- qmorphinganimation.cpp -->
  <title>QMorphingAnimation Class | 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-cpp.html">C++ Classes</a></td><td >QMorphingAnimation</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="#public-types">Public Types</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#public-slots">Public Slots</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#static-public-members">Static Public Members</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">QMorphingAnimation Class</h1>
<span class="small-subtitle">(<a href="qt3danimation-qmorphinganimation.html">Qt3DAnimation::QMorphingAnimation</a>)<br/></span>
<!-- $$$QMorphingAnimation-brief -->
<p>A class implementing blend-shape morphing animation. <a href="#details">More...</a></p>
<!-- @@@QMorphingAnimation -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QMorphingAnimation&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += 3danimation</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.9</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qt3d-animation-morphinganimation.html">MorphingAnimation</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qt3danimation-qabstractanimation.html">Qt3DAnimation::QAbstractAnimation</a></td></tr></table></div><ul>
<li><a href="qt3danimation-qmorphinganimation-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#Method-enum">Method</a></b> { Normalized, Relative }</td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qt3danimation-qmorphinganimation.html#easing-prop">easing</a></b> : QEasingCurve</li>
<li class="fn"><b><a href="qt3danimation-qmorphinganimation.html#interpolator-prop">interpolator</a></b> : const float</li>
<li class="fn"><b><a href="qt3danimation-qmorphinganimation.html#method-prop">method</a></b> : Method</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qt3danimation-qmorphinganimation.html#target-prop">target</a></b> : Qt3DRender::QGeometryRenderer*</li>
<li class="fn"><b><a href="qt3danimation-qmorphinganimation.html#targetName-prop">targetName</a></b> : QString</li>
<li class="fn"><b><a href="qt3danimation-qmorphinganimation.html#targetPositions-prop">targetPositions</a></b> : QVector&lt;float&gt;</li>
</ul>
</td></tr>
</table></div>
<ul>
<li class="fn">4 properties inherited from <a href="qt3danimation-qabstractanimation.html#properties">Qt3DAnimation::QAbstractAnimation</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#QMorphingAnimation">QMorphingAnimation</a></b>(QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#addMorphTarget">addMorphTarget</a></b>(Qt3DAnimation::QMorphTarget *<i>target</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QEasingCurve </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#easing-prop">easing</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVector&lt;float&gt; </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#getWeights">getWeights</a></b>(int <i>positionIndex</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#interpolator-prop">interpolator</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMorphingAnimation::Method </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#method-prop">method</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVector&lt;Qt3DAnimation::QMorphTarget *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#morphTargetList">morphTargetList</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#removeMorphTarget">removeMorphTarget</a></b>(Qt3DAnimation::QMorphTarget *<i>target</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#setMorphTargets">setMorphTargets</a></b>(const QVector&lt;Qt3DAnimation::QMorphTarget *&gt; &amp;<i>targets</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#setWeights">setWeights</a></b>(int <i>positionIndex</i>, const QVector&lt;float&gt; &amp;<i>weights</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QGeometryRenderer *</td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#target-prop">target</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#targetName-prop">targetName</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVector&lt;float&gt; </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#targetPositions-prop">targetPositions</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">4 public functions inherited from <a href="qt3danimation-qabstractanimation.html#public-functions">Qt3DAnimation::QAbstractAnimation</a></li>
</ul>
<a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#easing-prop">setEasing</a></b>(const QEasingCurve &amp;<i>easing</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#method-prop">setMethod</a></b>(QMorphingAnimation::Method <i>method</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#target-prop">setTarget</a></b>(Qt3DRender::QGeometryRenderer *<i>target</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#targetName-prop">setTargetName</a></b>(const QString <i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#targetPositions-prop">setTargetPositions</a></b>(const QVector&lt;float&gt; &amp;<i>targetPositions</i>)</td></tr>
</table></div>
<ul>
<li class="fn">2 public slots inherited from <a href="qt3danimation-qabstractanimation.html#public-slots">Qt3DAnimation::QAbstractAnimation</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#easing-prop">easingChanged</a></b>(const QEasingCurve &amp;<i>easing</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#interpolator-prop">interpolatorChanged</a></b>(float <i>interpolator</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#method-prop">methodChanged</a></b>(QMorphingAnimation::Method <i>method</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#target-prop">targetChanged</a></b>(Qt3DRender::QGeometryRenderer *<i>target</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#targetName-prop">targetNameChanged</a></b>(const QString &amp;<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#targetPositions-prop">targetPositionsChanged</a></b>(const QVector&lt;float&gt; &amp;<i>targetPositions</i>)</td></tr>
</table></div>
<ul>
<li class="fn">3 signals inherited from <a href="qt3danimation-qabstractanimation.html#signals">Qt3DAnimation::QAbstractAnimation</a></li>
</ul>
<a name="static-public-members"></a>
<h2 id="static-public-members">Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qt3danimation-qmorphinganimation.html#staticMetaObject-var">staticMetaObject</a></b></td></tr>
</table></div>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 protected function inherited from <a href="qt3danimation-qabstractanimation.html#protected-functions">Qt3DAnimation::QAbstractAnimation</a></li>
</ul>
<a name="details"></a>
<!-- $$$QMorphingAnimation-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>A class implementing blend-shape morphing animation.</p>
<p>A <a href="qt3danimation-qmorphinganimation.html">Qt3DAnimation::QMorphingAnimation</a> class implements blend-shape morphing animation to a target <a href="qt3drender-qgeometryrenderer.html">QGeometryRenderer</a>. The <a href="qt3danimation-qmorphinganimation.html">QMorphingAnimation</a> sets the correct <a href="qt3drender-qattribute.html">QAttributes</a> from the <a href="qt3danimation-qmorphtarget.html">morph targets</a> to the target <a href="qt3drender-qgeometryrenderer.html#geometry-prop">QGeometryRenderer::geometry</a> and calculates interpolator for the current position. The actual blending between the attributes must be implemented in the material. Qt3DAnimation::QMorphPhongMaterial implements material with morphing support for phong lighting model. The blending happens between 2 attributes - 'base' and 'target'. The names for the base and target attributes are taken from the morph target names, where the base attribute retains the name it already has and the target attribute name gets 'Target' appended to the name. The interpolator can be set as a <a href="qt3drender-qparameter.html">QParameter</a> to the used material. All morph targets in the animation should contain the attributes with same names as those in the base geometry.</p>
</div>
<!-- @@@QMorphingAnimation -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Method$$$Normalized$$$Relative -->
<h3 class="fn" id="Method-enum"><a name="Method-enum"></a>enum QMorphingAnimation::<span class="name">Method</span></h3>
<p>This enumeration specifies the morphing method.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>Qt3DAnimation::QMorphingAnimation::Normalized</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The blending should use the normalized formula; V' = Vbase * (1.0 - sum(Wi)) + sum[Vi * Wi]</td></tr>
<tr><td class="topAlign"><code>Qt3DAnimation::QMorphingAnimation::Relative</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The blending should use the relative formula; V' = Vbase + sum[Vi * Wi]</td></tr>
</table></div>
<!-- @@@Method -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$easing-prop$$$easing$$$setEasingconstQEasingCurve&$$$easingChangedconstQEasingCurve& -->
<h3 class="fn" id="easing-prop"><a name="easing-prop"></a><span class="name">easing</span> : <span class="type">QEasingCurve</span></h3>
<p>Holds the easing curve of the interpolator between morph targets.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QEasingCurve </td><td class="memItemRight bottomAlign"><span class="name"><b>easing</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setEasing</b></span>(const QEasingCurve &amp;<i>easing</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>easingChanged</b></span>(const QEasingCurve &amp;<i>easing</i>)</td></tr>
</table></div>
<!-- @@@easing -->
<!-- $$$interpolator-prop$$$interpolator$$$interpolatorChangedfloat -->
<h3 class="fn" id="interpolator-prop"><a name="interpolator-prop"></a><span class="name">interpolator</span> : const <span class="type">float</span></h3>
<p>Holds the interpolator between base and target attributes.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>interpolator</b></span>() const</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>interpolatorChanged</b></span>(float <i>interpolator</i>)</td></tr>
</table></div>
<!-- @@@interpolator -->
<!-- $$$method-prop$$$method$$$setMethodQMorphingAnimation::Method$$$methodChangedQMorphingAnimation::Method -->
<h3 class="fn" id="method-prop"><a name="method-prop"></a><span class="name">method</span> : <span class="type"><a href="qt3danimation-qmorphinganimation.html#Method-enum">Method</a></span></h3>
<p>Holds the morphing method. The default is Relative.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QMorphingAnimation::Method </td><td class="memItemRight bottomAlign"><span class="name"><b>method</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMethod</b></span>(QMorphingAnimation::Method <i>method</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>methodChanged</b></span>(QMorphingAnimation::Method <i>method</i>)</td></tr>
</table></div>
<!-- @@@method -->
<!-- $$$target-prop$$$target$$$setTargetQt3DRender::QGeometryRenderer*$$$targetChangedQt3DRender::QGeometryRenderer* -->
<h3 class="fn" id="target-prop"><a name="target-prop"></a><span class="name">target</span> : <span class="type"><a href="qt3drender-qgeometryrenderer.html">Qt3DRender::QGeometryRenderer</a></span>*</h3>
<p>Holds the target QGeometryRenderer the morphing animation is applied to.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QGeometryRenderer *</td><td class="memItemRight bottomAlign"><span class="name"><b>target</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTarget</b></span>(Qt3DRender::QGeometryRenderer *<i>target</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>targetChanged</b></span>(Qt3DRender::QGeometryRenderer *<i>target</i>)</td></tr>
</table></div>
<!-- @@@target -->
<!-- $$$targetName-prop$$$targetName$$$setTargetNameconstQString$$$targetNameChangedconstQString& -->
<h3 class="fn" id="targetName-prop"><a name="targetName-prop"></a><span class="name">targetName</span> : <span class="type">QString</span></h3>
<p>Holds the name of the target geometry. This is a convenience property making it easier to match the target geometry to the morphing animation. The name is usually same as the name of the parent entity of the target QGeometryRenderer, but does not have to be.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>targetName</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTargetName</b></span>(const QString <i>name</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>targetNameChanged</b></span>(const QString &amp;<i>name</i>)</td></tr>
</table></div>
<!-- @@@targetName -->
<!-- $$$targetPositions-prop$$$targetPositions$$$setTargetPositionsconstQVector<float>&$$$targetPositionsChangedconstQVector<float>& -->
<h3 class="fn" id="targetPositions-prop"><a name="targetPositions-prop"></a><span class="name">targetPositions</span> : <span class="type">QVector</span>&lt;<span class="type">float</span>&gt;</h3>
<p>Holds the position values of the morph target. Each position in the list specifies the position of the corresponding morph target with the same index. The values must be in an ascending order. Values can be positive or negative and do not have any predefined unit.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QVector&lt;float&gt; </td><td class="memItemRight bottomAlign"><span class="name"><b>targetPositions</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTargetPositions</b></span>(const QVector&lt;float&gt; &amp;<i>targetPositions</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>targetPositionsChanged</b></span>(const QVector&lt;float&gt; &amp;<i>targetPositions</i>)</td></tr>
</table></div>
<!-- @@@targetPositions -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QMorphingAnimation[overload1]$$$QMorphingAnimationQObject* -->
<h3 class="fn" id="QMorphingAnimation"><a name="QMorphingAnimation"></a>QMorphingAnimation::<span class="name">QMorphingAnimation</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Construct a new <a href="qt3danimation-qmorphinganimation.html">QMorphingAnimation</a> with <i>parent</i>.</p>
<!-- @@@QMorphingAnimation -->
<!-- $$$addMorphTarget[overload1]$$$addMorphTargetQt3DAnimation::QMorphTarget* -->
<h3 class="fn" id="addMorphTarget"><a name="addMorphTarget"></a><span class="type">void</span> QMorphingAnimation::<span class="name">addMorphTarget</span>(<span class="type"><a href="qt3danimation-qmorphtarget.html">Qt3DAnimation::QMorphTarget</a></span> *<i>target</i>)</h3>
<p>Add new morph <i>target</i> at the end of the animation.</p>
<!-- @@@addMorphTarget -->
<!-- $$$getWeights[overload1]$$$getWeightsint -->
<h3 class="fn" id="getWeights"><a name="getWeights"></a><span class="type">QVector</span>&lt;<span class="type">float</span>&gt; QMorphingAnimation::<span class="name">getWeights</span>(<span class="type">int</span> <i>positionIndex</i>)</h3>
<p>Return morph weights at <i>positionIndex</i>.</p>
<!-- @@@getWeights -->
<!-- $$$morphTargetList[overload1]$$$morphTargetList -->
<h3 class="fn" id="morphTargetList"><a name="morphTargetList"></a><span class="type">QVector</span>&lt;<span class="type"><a href="qt3danimation-qmorphtarget.html">Qt3DAnimation::QMorphTarget</a></span> *&gt; QMorphingAnimation::<span class="name">morphTargetList</span>()</h3>
<p>Return morph target list.</p>
<!-- @@@morphTargetList -->
<!-- $$$removeMorphTarget[overload1]$$$removeMorphTargetQt3DAnimation::QMorphTarget* -->
<h3 class="fn" id="removeMorphTarget"><a name="removeMorphTarget"></a><span class="type">void</span> QMorphingAnimation::<span class="name">removeMorphTarget</span>(<span class="type"><a href="qt3danimation-qmorphtarget.html">Qt3DAnimation::QMorphTarget</a></span> *<i>target</i>)</h3>
<p>Remove morph <i>target</i> from the animation.</p>
<!-- @@@removeMorphTarget -->
<!-- $$$setMorphTargets[overload1]$$$setMorphTargetsconstQVector<Qt3DAnimation::QMorphTarget*>& -->
<h3 class="fn" id="setMorphTargets"><a name="setMorphTargets"></a><span class="type">void</span> QMorphingAnimation::<span class="name">setMorphTargets</span>(const <span class="type">QVector</span>&lt;<span class="type"><a href="qt3danimation-qmorphtarget.html">Qt3DAnimation::QMorphTarget</a></span> *&gt; &amp;<i>targets</i>)</h3>
<p>Set morph <i>targets</i> to animation. Old targets are cleared.</p>
<!-- @@@setMorphTargets -->
<!-- $$$setWeights[overload1]$$$setWeightsintconstQVector<float>& -->
<h3 class="fn" id="setWeights"><a name="setWeights"></a><span class="type">void</span> QMorphingAnimation::<span class="name">setWeights</span>(<span class="type">int</span> <i>positionIndex</i>, const <span class="type">QVector</span>&lt;<span class="type">float</span>&gt; &amp;<i>weights</i>)</h3>
<p>Sets morph <i>weights</i> at <i>positionIndex</i>.</p>
<!-- @@@setWeights -->
</div>
        </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>