SphereGeometry QML Type
提供球体的几何信息。更多...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
属性
- asynchronous : bool
- radius : real
- rings : int
- segments : int
- status : bool
详细说明
SphereGeometry 是一种表示球体的几何类型。球体的大小由其半径决定。球体的拓扑结构由环数和段数决定。
属性文档
asynchronous : bool
该属性用于指定几何体生成是否应以异步方式进行。
radius : real
球体的半径。默认值为 100.0。
rings : int
球体中的环数。默认值为 16。
segments : int
球体中的分段数。默认值为 32。
status : bool [read-only]
当“asynchronous”为true时,该属性保存几何体生成的状态。
| 常量 | 描述 |
|---|---|
SphereGeometry.Null | 几何生成尚未开始 |
SphereGeometry.Ready | 几何生成已完成。 |
SphereGeometry.Loading | 正在生成几何图形。 |
SphereGeometry.Error | 几何体生成失败。 |
© 2026 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.