本页内容

PrismaticJoint QML Type

棱柱形接头。更多...

Import Statement: import QtQuick3D.Physics
Since: Qt 6.12

属性

详细说明

棱柱形接头允许两个物体沿某条轴线进行相对平移运动,但不允许相对旋转运动。每个物体上的该轴线被定义为包含接头坐标系原点并沿该坐标系x轴延伸的直线

另请参阅 DistanceJoint 、FixedJoint 、RevoluteJoint 以及SphericalJoint 。

属性文档

lowerLimit : real [default: -1000000, since 6.12]

约束的下限,即关节沿负x轴方向可伸展的距离。

范围:[-inf, inf]

该属性在 Qt 6.12 中引入。

另请参阅 upperLimit 。

upperLimit : real [default: 1000000, since 6.12]

约束的上限,即关节沿正x轴方向可伸展的最大距离。

范围:[-inf, inf]

该属性在 Qt 6.12 中引入。

另请参阅 lowerLimit 。

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