TorusGeometry QML Type
为环面提供几何图形。更多
Import Statement: | import QtQuick3D.Helpers |
Since: | Qt 6.9 |
Inherits: |
属性
- asynchronous : bool
- radius : real
- rings : int
- segments : int
- status : bool
- tubeRadius : real
详细说明
TorusGeometry 是一种表示环的几何类型。环形由环和环段的数量以及环形的半径定义。
属性文档
asynchronous : bool |
此属性表示几何体生成是否应为异步。
radius : real |
指定环的半径。默认值为 100。
rings : int |
指定环状体中环的数量。默认值为 50。
segments : int |
指定环中的段数。默认值为 50。
status : bool |
当异步为 true 时,此属性用于保存几何体生成的状态。
常量 | 说明 |
---|---|
TorusGeometry.Null | 几何体生成尚未开始 |
TorusGeometry.Ready | 几何体生成已完成。 |
TorusGeometry.Loading | 几何体生成正在进行。 |
TorusGeometry.Error | 几何体生成失败。 |
tubeRadius : real |
指定环形管的半径。默认值为 10。
© 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.