CylinderGeometry QML Type
提供圆柱体的几何形状。更多
Import Statement: | import QtQuick3D.Helpers |
Since: | Qt 6.9 |
Inherits: |
属性
详细说明
CylinderGeometry 是一种生成圆柱体形状的几何体类型。圆柱体的形状由其半径和长度属性定义。圆柱体的拓扑结构由段和环的数量定义。
属性文档
asynchronous : bool |
该属性显示几何体生成是否应为异步。
length : real |
该属性表示圆柱体的长度。该属性必须大于 0 才能生成有效的圆柱体。
radius : real |
该属性表示圆柱体的半径。该属性必须大于 0 才能生成有效的圆柱体。
rings : int |
该属性表示圆柱体的环数。圆环是圆柱体的纵向分割。最小环数为 0。
segments : int |
该属性表示圆柱体中的段数。段是圆柱体的径向分部。最小段数为 3。
status : bool |
当异步为 true 时,该属性用于保存几何体生成的状态。
常数 | 说明 |
---|---|
CylinderGeometry.Null | 几何体生成尚未开始 |
CylinderGeometry.Ready | 几何体生成已完成。 |
CylinderGeometry.Loading | 几何体生成正在进行。 |
CylinderGeometry.Error | 几何体生成失败。 |
© 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.