CapsuleGeometry QML Type

用于生成胶囊模型的几何体。更多

Since: Qt 6.4
Inherits:

Geometry

属性

详细说明

用于生成胶囊模型的几何体。

属性文档

diameter : real [default: 100]

xz 平面上的直径。


enableNormals : bool [default: true]

生成网格面法线


enableUV : bool [default: false]

生成网格 UV 坐标。


height : real [default: 100]

中间圆柱体在 y 轴上的高度,不包括半球。


latitudes : int [default: 16]

按倾角分布的纬度数。必须为偶数。


longitudes : int [default: 32]

按方位角分布的经度或经线数。


rings : int [default: 1]

半球之间圆柱体的截面数。


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