SphereShape QML Type

定义球形碰撞形状。更多

Import Statement: import QtQuick3D.Physics
Since: Qt 6.4
Inherits:

CollisionShape

属性

详细说明

该类型定义了一个球形。原点位于球体的中心。

注意: 在使用该形状的缩放变换时,X 分量将用于缩放球体的直径。即使使用非均匀缩放变换,生成的形状也将是完美的圆形。

属性文档

diameter : real

此属性定义球体的直径

默认值: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.