在本页

ConeGeometry QML Type

ConeGeometry 允许在三维空间中创建圆锥体。更多

Import Statement: import Qt3D.Extras 2.11
In C++: QConeGeometry
Status: Deprecated

属性

详细说明

ConeGeometry 类型最常用于ConeMesh 类型内部,但也可用于自定义GeometryRenderer 类型。ConeGeometry 类型允许创建圆锥和截顶圆锥。

属性文档

bottomRadius : real

保存锥体的底部半径。

hasBottomEndcap : bool

确定锥底是封盖还是开放。

hasTopEndcap : bool

确定锥顶是封顶还是开放。

indexAttribute : Attribute [read-only]

保存几何体索引属性。

length : real

表示锥体的长度。

normalAttribute : Attribute [read-only]

保存几何体法线属性。

positionAttribute : Attribute [read-only]

保存几何体位置属性。

rings : int

表示几何体中环的数量。

slices : int

表示几何体中切片的数量。

texCoordAttribute : Attribute [read-only]

保存几何纹理坐标属性。

topRadius : real

保持圆锥体的顶部半径。

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