本页内容

MorphTarget QML Type

一种为混合形状动画提供形态目标的类型。更多内容...

Import Statement: import Qt3D.Animation 2.12
In C++: QMorphTarget
Inherits:

QtObject

Status: Technology preview

此类型处于技术预览阶段,可能会有变动。

属性

方法

详细说明

MorphTarget 类型是一种便捷类型,它提供了一组Attributes ,MorphingAnimation 会利用这些对象对几何体进行动画处理。MorphTarget 也可以基于现有的Geometry 创建。

属性文档

attributeNames : list<string> [read-only]

包含形态目标中包含的属性名称列表。

attributes : list<Attribute>

保存形态目标中的属性列表。

方法文档

MorphTarget fromGeometry(geometry, stringList)

根据给定的stringList 定义的属性,从给定的geometry 中返回一个变形目标。

© 2026 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.