A class providing morph targets to blend-shape animation. More…
QMorphTarget class is a convenience class, which provides a list of
QAttributes , which the
QMorphingAnimation uses to animate geometry. A
QMorphTarget can also be created based on existing
- class PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget([parent=None])¶
QMorphTarget with given
attribute the morph target. An attribute with the same name must not have been added previously to the morph target.
- Return type
Returns a list of attributes contained in the morph target.
- Return type
list of strings
Holds a list of attribute names contained in the morph target.
attributeNames – list of strings
- static PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget.fromGeometry(geometry, attributes)¶
Returns a morph target based on the
attributes in the given
attribute from the morph target.
attributes to the morph target. Old attributes are cleared.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.