ConeGeometry QML Type
ConeGeometry 允许在三维空间中创建圆锥体。更多
Import Statement: | import Qt3D.Extras 2.9 |
In C++: | QConeGeometry |
Status: | Deprecated |
属性
- bottomRadius : real
- hasBottomEndcap : bool
- hasTopEndcap : bool
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- rings : int
- slices : int
- texCoordAttribute : Attribute
- topRadius : real
详细说明
ConeGeometry 类型最常用于ConeMesh 类型内部,但也可用于自定义GeometryRenderer 类型。ConeGeometry 类型允许创建圆锥和截顶圆锥。
属性文档
bottomRadius : real |
保存锥体的底部半径。
hasBottomEndcap : bool |
确定锥体底部是封顶还是开放。
hasTopEndcap : bool |
确定锥顶是封顶还是开放。
indexAttribute : Attribute |
保存几何体索引属性。
length : real |
保存圆锥体的长度。
normalAttribute : Attribute |
持有几何体法线属性。
positionAttribute : Attribute |
保留几何体位置属性。
rings : int |
保留几何体中环的数量。
slices : int |
持有几何体中的切片数。
texCoordAttribute : Attribute |
持有几何体纹理坐标属性。
topRadius : real |
保存圆锥体的顶部半径。
© 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.