Joint QML Type
用于变换蒙皮网格的某些部分。更多
属性
- childJoints : list<Joint>
- inverseBindMatrix : matrix4x4
- rotation : quaternion
- rotationX : real
- rotationY : real
- rotationZ : real
- scale : vector3d
- translation : vector3d
详细说明
关节节点用于在Qt 3D 中建立骨骼,作为蒙皮网格支持的一部分。关节可以通过其缩放、旋转和平移属性进行变换。任何与关节绑定的网格顶点都会相应地更新其变换。
属性文档
inverseBindMatrix : matrix4x4 |
保存关节的逆绑定矩阵。该矩阵用于将顶点从模型空间转换到该关节的空间,这样它们就可以乘以关节的全局变换来执行蒙皮操作。
rotation : quaternion |
以四元数形式保存关节的旋转。
rotationX : real |
以欧拉角形式保存关节的 x 旋转角度。
rotationY : real |
以欧拉角形式保存关节的 y 旋转角度。
rotationZ : real |
以欧拉角形式保存关节的 z 旋转角度。
scale : vector3d |
保持关节的统一比例。
translation : vector3d |
以向量 3d 的形式保存关节的平移。
© 2025 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.