CylinderGeometry QML 类型
CylinderGeometry 允许在 3D 空间中创建圆柱。 更多...
| 导入语句 | import Qt3D.Extras 2.7 | 
| 实例化 | QCylinderGeometry | 
属性
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- texCoordAttribute : Attribute
详细描述
CylinderGeometry 类型最常在内部由 CylinderMesh 类型使用,但也可用于自定义 GeometryRenderer 类型。
属性文档
| 
indexAttribute : Attribute  | 
包含几何索引属性。
| length : real | 
包含圆柱的长度。
| 
normalAttribute : Attribute  | 
包含几何法线属性。
| 
positionAttribute : Attribute  | 
包含几何位置属性。
| radius : real | 
包含圆柱的半径。
| rings : int | 
包含圆柱中的环数。
| slices : int | 
包含圆柱中的切片数。
| 
texCoordAttribute : Attribute  | 
包含几何纹理坐标属性。
© 2024 The Qt Company Ltd. 本文档中包含的贡献文档的著作权属于其各自的权利所有者。提供的文档根据由自由软件基金会发布的 GNU自由文档许可证版本1.3 的条款许可。Qt及其相关标志是The Qt Company Ltd.在芬兰和/或其他国家的商标。所有其他商标均为其各自权利所有者的财产。