SphereGeometry QML 类型
SphereGeometry 允许在 3D 空间中创建球体。 更多...
| 导入语句 | import Qt3D.Extras 2.7 | 
| 实例化 | QSphereGeometry | 
属性
- generateTangents : bool
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
详细描述
SphereGeometry 类型通常在内部由 SphereMesh 类型使用,但也可以用于自定义 GeometryRenderer 类型。
属性文档
| generateTangents : bool | 
包含自动生成切线向量的标志值。切线向量与法线向量正交。
| 
indexAttribute : Attribute  | 
包含几何体索引属性。
| 
normalAttribute : Attribute  | 
包含几何体法线属性。
| 
positionAttribute : Attribute  | 
包含几何体位置属性。
| radius : real | 
包含球体的半径。
| rings : int | 
包含球体中的环数。
| slices : int | 
包含球体中的切片数。
| 
tangentAttribute : Attribute  | 
包含几何体切线属性。
| 
texCoordAttribute : Attribute  | 
包含几何体纹理坐标属性。
© 2024 The Qt Company Ltd. 以下文档中所包含的贡献由各自的版权所有者拥有。提供的文档根据免费软件基金会的公布,在 GNU自由文档许可协议版本1.3 的条款下获得许可。Qt及其相关标志是芬兰及/或其他国家/地区的The Qt Company Ltd.的商标。所有其他商标均为各自所有者的财产。