本页内容

Joint QML Type

用于变换蒙皮网格的某些部分。更多...

Import Statement: import Qt3D.Core 2.12
In C++: QJoint
Inherits:

Node

Status: Deprecated

此类型已弃用。我们强烈建议不要在新代码中使用它。

属性

详细说明

“关节”节点用于构建骨骼,是Qt 3D 中蒙皮网格支持功能的一部分。可以通过关节的缩放、旋转和平移属性对其进行变换。与该关节绑定的任何网格顶点,其变换都会相应地更新。

属性文档

childJoints : list<Joint> [read-only]

inverseBindMatrix : matrix4x4

存储该关节的逆绑定矩阵。该矩阵用于将顶点从模型空间变换到该关节的空间中,以便随后将其与该关节的全局变换相乘,从而执行蒙皮操作。

rotation : quaternion

将关节的旋转以四元数形式存储。

rotationX : real

将关节的x轴旋转作为欧拉角保存。

rotationY : real

将关节的y轴旋转以欧拉角的形式保存下来。

rotationZ : real

将关节的 z 轴旋转作为欧拉角保存。

scale : vector3d

保持关节的均匀比例。

translation : vector3d

将关节的平移量存储为 vector3d。

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