BoxShape QML Type
定义方框碰撞形状。更多
Import Statement: | import QtQuick3D.Physics |
Since: | Qt 6.4 |
Inherits: |
属性
- extents : vector3d
详细说明
该类型定义了一个方框碰撞形状。原点位于方框的中心。
注意: 非均匀缩放变换将单独缩放 x、y 和 z 方向。但是,将非均匀缩放和旋转结合起来可能会导致剪切,而剪切不会应用到方框形状:它将始终是一个直线方框。
另请参阅 " 形状 "和 "体 "概述文档。
属性文档
extents : vector3d |
此属性定义方框在 x、y 和 z 方向上的外延。
默认值:(100, 100, 100)
© 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.