W3cubDocs

/Qt 5.11

MorphTarget QML Type

A type providing morph targets to blend-shape animation. More...

Import Statement: import Qt3D.Animation 2.9
Since: Qt 5.9
Instantiates: QMorphTarget
Inherits:

QtObject

Properties

Methods

Detailed Description

A MorphTarget type is a convenience type, which provides a list of Attributes, which the MorphingAnimation uses to animate geometry. A MorphTarget can also be created based on existing Geometry.

Property Documentation

[read-only] attributeNames : list<string>

Holds a list of attribute names contained in the morph target.

attributes : list<Attribute>

Holds the list of attributes in the morph target.

Method Documentation

MorphTarget fromGeometry(geometry, stringList)

Returns a morph target based on the attributes defined by the given stringList from the given geometry.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qml-qt3d-animation-morphtarget.html