Qt Quick 3D Physics QML Types
Qt Quick 3D 物理学提供了以下 QML 类型:
QtQuick3D.Physics QML 类型
使用以下语句导入QtQuick3D.Physics 模块:
import QtQuick3D.Physics
定义一个盒状碰撞形状 | |
定义类似药丸的形状 | |
控制角色的运动 | |
碰撞形状的基本类型 | |
基于三维网格的凸形碰撞形状 | |
可移动或被移动的实体 | |
高程由高度贴图定义的碰撞形状 | |
所有具体物理体的基本类型 | |
定义物体的物理材质 | |
物理场景中所有物体的基本类型 | |
控制物理模拟 | |
定义无限平面的碰撞形状 | |
定义球形碰撞形状 | |
不动的物理体 | |
基于 3D 网格的碰撞形状 | |
物体进入给定体积时的报告 |
QtQuick3D.Physics.Helpers QML 类型
使用以下语句导入QtQuick3D.Helpers 模块:
import QtQuick3D.Physics.Helpers
用于生成胶囊模型的几何体 |
© 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.