RevoluteJoint QML Type
旋转关节。更多内容...
| Import Statement: | import QtQuick3D.Physics |
| Since: | Qt 6.12 |
属性
- angularLimitLower : real
(since 6.12) - angularLimitUpper : real
(since 6.12) - enableAngularLimit : bool
(since 6.12)
详细说明
旋转关节(通常称为铰链)将坐标系的原点和x轴固定在一起,并允许围绕该公共轴自由旋转。
另请参阅 DistanceJoint 、FixedJoint 、PrismaticJoint 以及SphericalJoint 。
属性文档
angularLimitLower : real [default: -pi/2, since 6.12]
关节约束的下限角度(单位:弧度)。
取值范围:[-2*pi, 2*pi]
该属性在 Qt 6.12 中引入。
另请参阅 angularLimitUpper 。
angularLimitUpper : real [default: pi/2, since 6.12]
关节约束的上角限(单位:弧度)。
取值范围:[-2*pi, 2*pi]
该属性自 Qt 6.12 起引入。
另请参阅 angularLimitLower 。
enableAngularLimit : bool [default: false, since 6.12]
启用该关节的角限位约束。
该属性自 Qt 6.12 起引入。
© 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.